Using Laravel Tinker in Chrome DevTools
Tony Lea created a new Chrome extension that will add a PHP tab in Chrome DevTools. Nice!
Read more [amitmerchant.com]
Tony Lea created a new Chrome extension that will add a PHP tab in Chrome DevTools. Nice!
Read more [amitmerchant.com]
Here's another nifty Laravel method
Read more [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."
Using a Laravel pipeline is always nice to structure a process like this.
Read more [www.geocod.io]
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]
– tighten.com - submitted by Kayla Helmick
Learn to create a customizable admin panel in minutes with our Filament Crash-Course.
Read more [tighten.com]
– 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]
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]
– myray.app - submitted by Spatie
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
A blog post explaining some benefits (and drawbacks) of using custom Eloquent collections.
Read more [alsterholm.com]
– www.mailcoach.app - submitted by Spatie
Read more [www.mailcoach.app]
Here's how we handle secrets at Flare
Read more [flareapp.io]
– ashallendesign.co.uk - submitted by Ash Allen
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
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]