#Laravel News

Building Multiplayer Minesweeper with Laravel, Livewire and Reverb

Building Multiplayer Minesweeper with Laravel, Livewire and Reverb, my first visit back to PHP in a decade
#Sponsor
By Jared Short | Sep 16, 2024


Eloquent Filtering Package

The Eloquent Filtering package enhances the process of building dynamic query filters in Eloquent.
#Laravel Packages #Eloquent
By Eric L. Barnes | Sep 16, 2024


TemPHPest PHP Extension for VSCode

TemPHPest is an extension for Visual Studio Code to improve writing PHP in VS Code. Created by Liam Hammett, this package adds rich PHP features that…
#News #Vscode
By Paul Redmond | Sep 16, 2024


Validate Console Command Input With the Command Validator Package

The Command Validator package by Andrea Marco Sartori makes validating the input of console commands a cinch using Laravel's beloved Validator. All th…
#Laravel Packages
By Paul Redmond | Sep 18, 2024


Fetch PHP is a Lightweight HTTP Library Inspired by JavaScript's fetch()

Fetch PHP is a lightweight HTTP library inspired by JavaScript's fetch, bringing simplicity and flexibility to PHP HTTP requests.
#Laravel Packages #Php
By Paul Redmond | Sep 19, 2024


MySql Explain with Tobias Petry

Tobias Petry discusses his journey into database optimization, the development of his MySQL Explain tool, and more
#Interviews
By Eric L. Barnes | Sep 20, 2024



#Ashallen Design UK

Freelance Web Dev Hub: Free Community for Web Developers

#Business #Freelancing #Web Development
By Ashley Allen | Sep 17, 2024



#Freek Dev

Container attributes in Laravel

These attributes help you inject various pieces of data into your classes
By | Sep 16, 2024


Deferring tasks with Laravel's defer() helper

A detailed look at how Laravel's defer() helper works.
By Sid | Sep 20, 2024



#Made with Laravel

Commenter – Commenting System

"Commenter is a feature-rich, modern package with an admin panel designed to address all your commenting needs.

With this package, you won't need any additional tools for the comment functionality in your Laravel projects."
#Plugins
By | Sep 20, 2024


Linen – Spreadsheet Utility

"Linen is a lightweight spreadsheet utility for Laravel.

It's a simple wrapper for 
openspout
 (used to read and write spreadsheet files) with some data normalization conveniences."
#Utility
By | Sep 20, 2024



#Hashnode

NEW defer() in Laravel 11.23

Recently Taylor Otwell (Founder of Laravel) announced a new helper function defer() that means running a piece of code after sending the response. So, defer means “putting something later in the time”, it does.
You can read more about it here: Defer …
By Gurpreet kumar | Sep 16, 2024


Memahami Variabel PHP: Langkah Awal Menjadi Programmer Sukses

Halo, Kawan KodingKu! 😊
Siapa di sini yang pernah merasa bingung saat pertama kali belajar tentang variabel dalam PHP? Jangan khawatir, kalian tidak sendirian! Memahami variabel dalam PHP memang bisa terasa seperti menjelajahi kota baru yang penuh d…
By KodingKu | Sep 17, 2024


Mastering Enums in Laravel: Handling Enum Values in Blade Templates

Enums are a powerful feature in Laravel that help maintain clean and expressive code. However, when working with enums in Blade templates, it is important to understand how to handle them correctly to avoid unexpected behavior. In this post, we will …
By Asfia Aiman | Sep 17, 2024


MySQL How To Duplicate A Table – Fast Tips

Recently I had to deal with some limitations of my database provider that doesn’t support table renaming. So I had to duplicate a table manually.
The database of my SaaS platform is hosted on Planetscale. The company provides a MySQL-compatible serve…
By Valerio | Sep 17, 2024


Stay Updated with PHP/Laravel: Weekly News Summary (09/09/2024-15/09/2024

Intro: Check out this insightful summary of PHP/Laravel Weekly News for September 09th to September 15th, 2024. Stay updated with the latest developments, releases, and community updates in the Nil ecosystem.
Key Points:

🧪 Pest 3 Released: Pest 3 h…
By Poovarasu Sekar | Sep 17, 2024


Laravel Herd PRO reviews

Hey guys,
Recently, I just bought Herd PRO (a yearly subscription). I’ve been using the basic Herd since the first release.
So, my latest work required interaction with S3 storage, there are several ways to achieve that in the local env:

Use Cloud (…
By Seth Chen | Sep 18, 2024


How to Paginate More Than One List on the Same Blade File in Laravel 11 with Bootstrap 5 and Tailwind CSS

When building complex applications with Laravel, you might find yourself needing to paginate multiple lists on the same Blade template. This could be useful for dashboards, admin panels, or any page where multiple datasets are displayed. In this guid…
By Asfia Aiman | Sep 19, 2024


PHP Attributes: how to use PHP Attributes and create custom attribute classes – Fast Tips

PHP attributes were introduced in PHP 8.0. This version marked a significant milestone for the language, bringing several new features and improvements, including the introduction of attributes for adding metadata to code declarations.
The first time…
By Valerio | Sep 19, 2024


How to create and register a middleware in a Laravel 11 application

Introduction
Middleware contains defined conditions to be fulfilled by a request via any of the HTTP verbs before granting or rejecting access to response or specific part of an application. For example, a middleware can be used to check if a user ma…
By Alemoh Rapheal Baja | Sep 19, 2024


Master PHP Cookies & Sessions: A Complete Guide

Hey there, future web dev superstars! 🎉 Welcome to a fun, exciting, and oh-so-practical tutorial on PHP cookies and sessions! By the end of this, you'll be handling user data like a pro and will know when to use cookies or sessions in real-world web…
By Junaid Bin Jaman | Sep 19, 2024


Mastering Asynchronous Programming in PHP

In modern web development, one of the key challenges is improving performance and scalability, especially when handling tasks like API calls, file processing, and database queries. Asynchronous programming is an approach that allows tasks to be execu…
By Junaid Bin Jaman | Sep 20, 2024


Using assert to fix PHPStan errors

I’ve been using more and more PHPStan recently and it’s been a real pleasure to improve my codebases.
Being strict is nice, but sometimes it can also be inconvenient. A lot of built-in methods in php can return false. Or sometimes, you have a “mixed”…
By Thomas Portelange | Sep 20, 2024


How to Set Up a Database and Display Data on the Frontend Using Laravel and Vue.js

Introduction
Setting up a full-stack web application can seem challenging, but with the right combination of technologies, the process becomes much more manageable. One of the most popular stacks today is Laravel for the backend and Vue.js for the fr…
By Manvendra Singh | Sep 20, 2024


Beginner’s Guide to Mastering Laravel Traits in 3 Simple Steps

Introduction to Laravel Traits

Here is the introduction to Laravel Traits in simple words:

Traits are a way to reuse code in Laravel.

They are similar to classes, but they cannot be instantiated on their own.

Traits can be included in classes to …
By Aman jain | Sep 21, 2024


Passkey Authentication Guide for Symfony

Introduction
Passkeys, also known as WebAuthn credentials, represent a modern approach to passwordless authentication. As an evolution in web security, they aim to replace traditional password-based logins by utilizing a combination of public-key cry…
By Bernard Ngandu | Sep 22, 2024


Receive Slack Notifications from your Laravel App with a 10-minute Setup

In the previous article, I introduced a Backpack's new Menu Dropdown Column component which I use for my e-commerce admin panel. Today, I will talk about a Laravel feature I use to receive Order Notifications. Whenever an order comes, my team is noti…
By Karan Datwani | Sep 22, 2024


Laravel Factories: Tips for Handling Dependent Data

Something I recently came across while working on a Laravel app was an unoptimized factory. I’ve seen this many times and have even been guilty of it. Let’s say we have three models, a User, a Team, and a Project. A team can have a team owner (teams….
By Sean Kegel | Sep 22, 2024



#Mastering Laravel

Avoid surprises with factory relationships

Do you need all those records?
By Joel Clermont | Sep 20, 2024


Default factories should do as little as possible

Another time laziness pays off
By Joel Clermont | Sep 19, 2024


Don't overthink your application architecture

The defaults get you very far
By Joel Clermont | Sep 18, 2024


The right way to upgrade Laravel

More than running composer update
By Joel Clermont | Sep 17, 2024


Better types in API resources

And very simple to do
By Joel Clermont | Sep 16, 2024



#Securing Laravel

Security Tip: Parameterise your Parameter Names!

[Tip #91] aka yet another example for why you should Never Trust User Input!
By Stephen Rees-Carter | Sep 20, 2024



#Honey Badger

A guide to Laravel pipelines

Laravel pipelines are a great way of breaking down complex workflows into smaller, manageable, and testable chunks. Learn about how Laravel uses them internally in the framework, and how to create your own.
By Ashley Allen | Sep 16, 2024



#Dev.to

Symfony Station Communiqué – 13 September 2024. Your look at Symfony, Drupal, PHP, and programming news!

#symfony #drupal #php #programming
By Reuben Walker, Jr. | Sep 16, 2024


Using SCSS And TailwindCSS in Laravel Projects Code Examples

#webdev #javascript #php #laravel
By Danish | Sep 16, 2024


Downloading Webpages As PDFs With PHP And JavaScript

#html #javascript #npm #php
By It's Just Nifty | Sep 16, 2024


Implementing Contextual Binding at Compile Time for Payment Processing in Laravel 11

#php #laravel #designpatterns #webdev
By websilvercraft | Sep 16, 2024


539. Minimum Time Difference

#php #leetcode #algorithms #programming
By MD ARIFUL HAQUE | Sep 16, 2024


Converting HTML To PDF With HTML Button

#php #programming #html #pdffiles
By It's Just Nifty | Sep 16, 2024


Linking Private GitHub Repositories as Composer Dependencies

#php #composer #github
By Drazen Bebic | Sep 17, 2024


Enums e lang no Laravel

#webdev #php #laravel
By Natanael Alves | Sep 17, 2024


What Happens When a Super Admin Disallows User Logins Due to an Error

#webdev #javascript #laravel #programming
By Danish | Sep 17, 2024


Top 10 IT Companies in the World

#microsoft #java #cloud #php
By Micah James | Sep 17, 2024


Laravel Mailable Tutorial

#laravel #php #webdev #tutorial
By Valerio | Sep 17, 2024


Handling Enum Values in Laravel Blade Templates

#laravel #php #enums #webdev
By Asfia Aiman | Sep 17, 2024


Stay Updated with PHP/Laravel: Weekly News Summary (09/09/2024-15/09/2024

#php #laravel
By Poovarasu Sekar | Sep 17, 2024


Building Real-Time Applications with PHP Using WebSockets

#php #tutorial #backend #programming
By MD ARIFUL HAQUE | Sep 17, 2024


884. Uncommon Words from Two Sentences

#php #leetcode #algorithms #programming
By MD ARIFUL HAQUE | Sep 17, 2024


Génération de Diagrammes de Classe avec Laravel ER Diagram Generator

#laravel #generationdiagramme #diagrammes #php
By Fabrice | Sep 18, 2024


Laravext for Laravel

#laravel #php #inertia #nextjs
By Arthur Ydalgo | Sep 18, 2024


Creating a simple page router in PHP

#php #tutorial
By Ko Htet | Sep 18, 2024


Dockerfile for PHP Laravel

#dockerfile #laravel #docker
By Henri Sekeladi | Sep 18, 2024


LaravelTop 10 Essential Tools for Laravel Developers in 2024

#laravel #php #webdev #programming
By gitter4coding | Sep 18, 2024


179. Largest Number

#php #leetcode #algorithms #programming
By MD ARIFUL HAQUE | Sep 18, 2024


Tested and Proven! 6 Tools to Boost Productivity!

#webdev #productivity #beginners #php
By Angela Swift | Sep 18, 2024


Running WordPress on Containers

#docker #wordpress #php #linux
By Erika Heidi | Sep 18, 2024


Legal Considerations When Hiring Offshore PHP Developers

#php #techtalks #recruitment #webdev
By Inspius | Sep 19, 2024


Como funcionam as factories e seeders com Laravel

#webdev #beginners #programming #laravel
By Elemar Leonel | Sep 19, 2024


Top Countries to Hire Offshore PHP Developers From

#recruitment #techtalks #hiring #php
By Inspius | Sep 19, 2024


Laravel / Inertia.js / Vue.js project to learn for beginners

#laravel #php #backend #webdev
By Nikola Perišić | Sep 19, 2024


How to Paginate Multiple Lists on the Same Blade File in Laravel 11 with Bootstrap 5 and Tailwind CSS

#pagination #laravel #a11y #webdev
By Asfia Aiman | Sep 19, 2024


Upload File in Laravel

#laravel #php #webdev #tutorial
By Valerio | Sep 19, 2024


Is PHP still worth learning in 2025?

#laravel #php #webdev #beginners
By gitter4coding | Sep 19, 2024


Tips for testing queued jobs in Laravel

#laravel #php #testing
By Eduardo Guzmán | Sep 19, 2024


How to override laravel nova components

#tutorial #php #laravel #laravelnova
By Jenry Mazariegos | Sep 19, 2024


Easy Laravel Deployment on Ubuntu: A Beginner's Guide with LEMP Stack

#php #devops #laravel #ubuntu
By MD ARIFUL HAQUE | Sep 20, 2024


Effortless Secret Management for Laravel & JS Projects with Secrets Loader

#laravel #aws #javascript #development
By Jerome Thayananthajothy | Sep 19, 2024


Boosting PHP Efficiency: Proven Techniques for Performance Optimization

#php #performance #productivity #tutorial
By MD ARIFUL HAQUE | Sep 20, 2024


241. Different Ways to Add Parentheses

#php #leetcode #algorithms #programming
By MD ARIFUL HAQUE | Sep 19, 2024


Sharing Authentication cookies across Laravel Apps

#laravel #microservices #php #cookie
By Bedram Tamang | Sep 20, 2024


PHP Callable Decorators

#php #callable #decorator #designpatterns
By Yonel Ceruto | Sep 20, 2024


19 Essential Laravel Performance Optimization Tips

#laravel #php #programming
By proprzzzz | Sep 20, 2024


Object-Oriented Programming (OOP)

#php #oop #beginners #programming
By Carlos Viana | Sep 20, 2024


What is the Xdebug?

#devops #programming #php #beginners
By Gurpinder Singh | Sep 20, 2024


Composition vs. Inheritance

#php #oop #composition #inheritance
By Carlos Viana | Sep 20, 2024


214. Shortest Palindrome

#php #leetcode #algorithms #programming
By MD ARIFUL HAQUE | Sep 20, 2024


Simplifying Data Transfer in Laravel with DTOs

#php #laravel #database #backend
By MD ARIFUL HAQUE | Sep 21, 2024


Hidden Gems of Laravel: Lesser-Known Features to Boost Your Development

#laravel #tutorial #php #backend
By MD ARIFUL HAQUE | Sep 21, 2024


Build with Me Larachat #2: The mistake most developers do when building a product

#webdev #laravel #opensource #devjournal
By Ramzi Issiakhem | Sep 21, 2024


HelloWorld!

#php
By Renzo Fraga | Sep 21, 2024


386. Lexicographical Numbers

#php #leetcode #algorithms #programming
By MD ARIFUL HAQUE | Sep 21, 2024


An easy way to validate DTO's using Symfony attributes

#php #symfony #dto #validation
By Nacho Colomina Torregrosa | Sep 20, 2024


Implementing Event-Driven Architectures in PHP: A Deep Dive into Event Sourcing and CQRS

#php #eventdriven #tutorial #backend
By MD ARIFUL HAQUE | Sep 21, 2024


LAPONG DOCKER

#laravel #postgres #docker #nginx
By Albert R. C. Guedes | Sep 22, 2024


What is the PHP CodeSniffer?

#php #laravel #tutorial #javascript
By Gurpinder Singh | Sep 22, 2024


Receive Slack Notifications from your Laravel App with a 10-minute Setup

#laravel #php #webdev #programming
By Karan Datwani | Sep 22, 2024


Understanding Mock Objects in PHPUnit Testing

#php #phpunit #tdd #mockobjects
By Al Amin | Sep 22, 2024


440. K-th Smallest in Lexicographical Order

#php #leetcode #algorithms #programming
By MD ARIFUL HAQUE | Sep 22, 2024


Getting Started with Laravel: A Beginner's Guide to Query Builder

#php #laravel #backend #tutorial
By MD ARIFUL HAQUE | Sep 22, 2024



#Amit Merchant

Enhancing JSON Attribute Handling in Laravel with AsArrayObject and AsCollection Casts

Laravel's Eloquent ORM is renowned for its powerful features, including its robust casting system. When working with JSON attributes, two casts stand out for their utility: AsArrayObject and AsCollection. Let's explore how these casts can elevate your Laravel development experience.The Problem with Standard Array Casts
By Harris Raftopoulos | Sep 16, 2024


Creating Custom Casts in Laravel: Tailoring Data Transformations

Laravel's Eloquent ORM provides a powerful casting system out of the box, but sometimes you need more specialized data transformations. This is where custom casts come into play, allowing you to define your own casting logic for model attributes.Understanding Custom CastsCustom casts in Laravel allow you
By Harris Raftopoulos | Sep 16, 2024


Maintaining Data Structure in Laravel API Resources: Preserving Collection Keys

When building APIs with Laravel, you often use API resources to transform your models into JSON responses. By default, Laravel resets the keys of resource collections to numerical indexes. However, there are scenarios where preserving the original keys is crucial. Let's explore how to maintain your data structure
By Harris Raftopoulos | Sep 17, 2024


Customizing Resource Collection Mapping in Laravel

Laravel's resource collections provide a powerful way to transform your data for API responses. By default, Laravel makes some assumptions about how your resources should be mapped, but sometimes you need more control. Let's explore how to customize resource collection mapping to fit your specific needs.
By Harris Raftopoulos | Sep 17, 2024


Streamlining Laravel API Responses: Disabling Resource Wrapping

When building APIs with Laravel, you often use API resources to transform your models into JSON responses. By default, Laravel wraps your outermost resource in a data key. While this is useful in many scenarios, there are times when you might want a flatter response structure. Let's explore
By Harris Raftopoulos | Sep 18, 2024


Optimizing API Performance with Conditional Relationship Loading in Laravel

When building APIs with Laravel, it's crucial to consider performance, especially when dealing with relationship data. Laravel's API Resources provide a powerful feature called whenLoaded that allows you to conditionally include relationships in your API responses. This can significantly reduce unnecessary database queries and improve your
By Harris Raftopoulos | Sep 18, 2024


Transforming Collections into Queries: Laravel's toQuery Method

Laravel's Eloquent ORM is known for its powerful and expressive API. One of its lesser-known but incredibly useful features is the toQuery method available on collections. This method allows you to convert a collection of models back into a query builder instance, opening up a world of possibilities
By Harris Raftopoulos | Sep 19, 2024


Refreshing Your Data: Laravel's fresh Method for Collections

In the world of web development, data can change rapidly. Sometimes, the data you've retrieved from your database might become stale even while your application is processing it. Laravel provides an elegant solution to this problem with the fresh method for collections. Let's dive into how
By Harris Raftopoulos | Sep 19, 2024


Optimizing Database Queries: Preventing Lazy Loading in Laravel

Laravel's Eloquent ORM is known for its ease of use, particularly when it comes to working with relationships. However, this convenience can sometimes lead to performance issues, particularly in the form of the N+1 query problem. Laravel provides a powerful feature to help combat this: the ability
By Harris Raftopoulos | Sep 20, 2024


Keeping Parent Models Up-to-Date: Laravel's $touches Property

In Laravel's Eloquent ORM, maintaining accurate timestamps across related models can be crucial for tracking changes and ensuring data consistency. The $touches property provides an elegant solution for automatically updating parent model timestamps when a related model is modified. Let's explore how this feature can streamline
By Harris Raftopoulos | Sep 20, 2024


Streamlining API Responses: Converting Laravel Models to JSON

When building APIs with Laravel, converting your Eloquent models to JSON is a common task. Laravel provides several methods to accomplish this, making it easy to create consistent and flexible API responses. Let's explore how to effectively convert your models to JSON and leverage Laravel's automatic
By Harris Raftopoulos | Sep 21, 2024


Streamlined Data Access: Laravel's attributesToArray Method

When working with Laravel's Eloquent models, there are times when you need to access the raw attribute data without the overhead of relationships or custom accessors. This is where the attributesToArray method comes in handy. Let's explore how this method can simplify your data handling and
By Harris Raftopoulos | Sep 21, 2024


Efficient Model Creation: Recycling Models in Laravel Factories

When working with Laravel factories, especially for complex data structures or relationships, you might find yourself needing to reuse certain model instances across multiple factory calls. Laravel provides a powerful feature for this exact scenario: the recycle method. Let's dive into how this method can optimize your factory
By Harris Raftopoulos | Sep 22, 2024


Dynamic Data Generation: Sequencing Factory Attributes in Laravel

When working with Laravel factories, you often need to generate data that follows specific patterns or sequences. Laravel's factory sequencing feature provides a powerful way to create varied and realistic test data. Let's explore how you can use this feature to enhance your data generation process.
By Harris Raftopoulos | Sep 22, 2024



#Ahmad Rosid

Where is the pip package file located?

By Ahmad Rosid | Sep 22, 2024



#IT Solution Stuff

How to Add Toastr Notification in Laravel 11?

In this article, I will explain to you how to add toastr flash notification in laravel 11 application.

Toastr.js is a JavaScript library used to display small, non-blocking notifications or alerts on…..
#Laravel
By Hardik Savani | Sep 21, 2024



#Stitcher

Tagging Tempest Livestream!

By Brent | Sep 16, 2024



#DC Blog

Run 100 Miles October 2024

Hi there,I'm taking part in Run 100 Miles October 2024 to support Young Lives vs Cancer to raise funds for children and young people with…
#charity #Cancer #running
By https://hashnode.com/@dcblogdev | Sep 19, 2024



#Msamgan

How pinkary avoids registration from disposable emails

By Msamgan | Sep 21, 2024