Stop Using Pseudo-Types
Pseudo-types like callable and iterable may seem convenient at first glance, but they introduce ambiguities and make code harder to analyze.
Read more [f2r.github.io]
Pseudo-types like callable and iterable may seem convenient at first glance, but they introduce ambiguities and make code harder to analyze.
Read more [f2r.github.io]
Brent is back with an update of the PHP version stats.
Read more [stitcher.io]
Join 9,500+ smart developers
Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
"Freek publishes a super resourceful and practical newsletter. A must for anyone in the Laravel space"
The new finally method simplifies how you handle post-pipeline operations, whether your pipeline succeeds or fails.
Read more [www.harrisrafto.eu]
– infinitypaul.medium.com - submitted by Paul Edward
Here's how a unsuspicious validation rule can wind up making your app slower.
Read more [infinitypaul.medium.com]
Tony Lea created a new Chrome extension that will add a PHP tab in Chrome DevTools. Nice!
Read more [amitmerchant.com]
– flareapp.io - submitted by Spatie
Here's why and how we added a mini container in a framework agnostic package.
Read more [flareapp.io]
PHP Fibers, introduced in PHP 8.1, enable asynchronous programming by allowing functions to pause and resume execution. Here are some good examples on how to use them.
Read more [byteblog.medium.com]
Here's another nifty Laravel method
Read more [medium.com]
Using a Laravel pipeline is always nice to structure a process like this.
Read more [www.geocod.io]
Here are some special cases that you should keep in mind when working with NULL.
Read more [raymondtukpe.com]
Laravel’s redirect response can be manually set to redirect users back to a specific URL after authentication or feedback submission.
Read more [amitmerchant.com]
The choice between the two depends on the specific requirements and use case of the application.
Read more [highperformancesqlite.com]
– tighten.com - submitted by Kayla Helmick
Learn to create a customizable admin panel in minutes with our Filament Crash-Course.
Read more [tighten.com]
– youtu.be - submitted by Bert De Swaef
In this short video, we break down the key differences between Pass by Value and Pass by Reference in PHP. 🚀 Understanding these two concepts is essential for writing efficient and bug-free code. Learn how PHP handles variables when passed to functions, and see how small changes in your code can have a BIG impact on performance and behavior! 🔍
Read more [youtu.be]
– albertoarena.it - submitted by Alberto Arena
Laravel event sourcing generator adds a new Artisan command that can generate a full domain directory structure for Spatie event sourcing.
Read more [albertoarena.it]
– clig.dev
Good naming, consistency, clear communication, and discoverability. These are things that do not only apply to command line programs, but to general development as well.
Read more [clig.dev]
Pretty cool that this behaviour can be customized easily.
Read more [sarahjting.com]
Stephen Rees-Carter tells how hardcoding admin domains in code can lead to security vulnerabilities
Read more [securinglaravel.com]
– nabilhassen.com - submitted by Nabil Hassen
Learn about the 23 powerful Laravel and Livewire PHP Attributes.
Read more [nabilhassen.com]
Here's everything what a browser does to display the content of an URL.
Read more [abhisaha.com]