Dynamically build Mail, DB, and Cache configurations in Laravel
– amitmerchant.com – Edit
Laravel’s new build() methods allow dynamic configuration of mail, database, and cache settings.
Read more [amitmerchant.com]
– amitmerchant.com – Edit
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]
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.
"I’ve been reading freeks newsletter for a while now, and it’s easily one of my favorite developer newsletters. Freek shares practical, no-nonsense insights from running Spatie, maintaining hundreds of open-source packages, and shipping real products. Every time I get useful Laravel tips, smart tooling advice, always high quality and immediately applicable."
– stitcher.io – Edit
PHP 8.4 was released last week. Here's what's new.
Read more [stitcher.io]
– jump24.co.uk – Edit
Attributes are a fun and powerful feature of PHP.
Read more [jump24.co.uk]
– davorminchorov.com - submitted by Davor Minchorov – Edit
Learn about data transfer objects, why they are useful and why it's better to use them over arrays.
Read more [davorminchorov.com]
Read more [myray.app]
Here's how Laravel's defer() function, which was introduced a few months ago, works behind the scenes.
Read more [www.amitmerchant.com]
Here's a neat solution by Ryan Chandler
Read more [ryangjchandler.co.uk]
– alsterholm.com - submitted by Andreas Alsterholm – Edit
A blog post explaining some benefits (and drawbacks) of using custom Eloquent collections.
Read more [alsterholm.com]
– www.phparch.com – Edit
A nice video demoing a cool new feature coming to PHP 8.4
Read more [www.phparch.com]
Spoiler: it doesn't really matter anymore as long as you're using a modern version of PHP
Read more [dev.to]
– flareapp.io – Edit
Here's how we handle secrets at Flare
Read more [flareapp.io]
Run Composer packages, effortlessly. No need to install tools into your app or as global dependencies.
Read more [cpx.dev]
– ashallendesign.co.uk - submitted by Ash Allen – Edit
Learn how to use the Pipeline class in Laravel to break complex workflows into smaller, isolated, focused processes. We'll then look at how to test our Laravel pipelines.
Read more [ashallendesign.co.uk]
– www.harrisrafto.eu - submitted by Harris Raftopoulos – Edit
Laravel's accessor caching with shouldCache() boosts performance by preventing repetitive computations for expensive accessors. Additionally, you can work with complex data like addresses using value objects, and Laravel will auto-sync changes back to the model. This improves code efficiency and maintainability, especially for structured data.
Read more [www.harrisrafto.eu]
– laradir.com – Edit
A nice real-world example on how you can add Reverb to an existing Laravel app
Read more [laradir.com]
– koomai.net - submitted by Sid – Edit
A detailed look at how Laravel's defer() helper works.
Read more [koomai.net]
These attributes help you inject various pieces of data into your classes
Read more [www.amitmerchant.com]
– backpackforlaravel.com - submitted by Karan Datwani – Edit
Read more [backpackforlaravel.com]
– geoligard.com - submitted by Goran Popović – Edit
See how to easily modify and override methods found in the framework's Request class in order to handle specific routes with sizeable payloads.
Read more [geoligard.com]