PHP version stats, January 2025 edition
Brent is back with an update of the PHP version stats.
Read more [stitcher.io]
Brent is back with an update of the PHP version stats.
Read more [stitcher.io]
The new finally method simplifies how you handle post-pipeline operations, whether your pipeline succeeds or fails.
Read more [www.harrisrafto.eu]
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.
"Always fresh, useful tips and articles. Carefully selected community content. My favorite newsletter, which I look forward to every time."
– 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]
– infinitypaul.medium.com - submitted by Paul Edward
Sometimes, no matter how senior you are, little issues like this can humble you. I recently faced a confusing issue where I was expecting a relationship to give me a User object, but instead, it just gave me a number! After two days of scratching my head, I finally figured out what went wrong.
Read more [infinitypaul.medium.com]