Elegant Pipeline Cleanup with Laravel's finally Method
The new finally method simplifies how you handle post-pipeline operations, whether your pipeline succeeds or fails.
Read more [www.harrisrafto.eu]
Posts tagged with php
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]
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’s newsletter is one of the best ways to stay updated with the Laravel and PHP ecosystem. It consistently highlights useful packages, tools, and ideas from the community, especially the amazing work coming from Spatie. As a Laravel developer building SaaS and web platforms, I find it extremely helpful to discover practical tools and insights that improve my development workflow."
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]
– 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]
Pretty cool that this behaviour can be customized easily.
Read more [sarahjting.com]
– nabilhassen.com - submitted by Nabil Hassen
Learn about the 23 powerful Laravel and Livewire PHP Attributes.
Read more [nabilhassen.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]
– ashallendesign.co.uk - submitted by Ash Allen
Read about the #[RouteParameter] PHP attribute that you can use in Laravel to access route model-bound models in your form request classes. The article covers how to use the attribute and the problem it solves.
Read more [ashallendesign.co.uk]
– myray.app - submitted by Spatie
Read more [myray.app]
A polyglot architecture combines PHP and GoLang to leverage their strengths. PHP enables rapid development, while Go optimizes resource utilization.
Read more [themsaid.com]
Laravel’s new build() methods allow dynamic configuration of mail, database, and cache settings.
Read more [amitmerchant.com]
While scopes are useful for simple queries, custom query builders are preferred for complex or frequently used queries.
Read more [blog.oussama-mater.tech]
PHP 8.4 was released last week. Here's what's new.
Read more [stitcher.io]
Attributes are a fun and powerful feature of PHP.
Read more [jump24.co.uk]