Local Environment Seeders in Laravel
This makes not just testing the UI of an app easier, but also makes onboarding new developers to a project simpler.
Read more [stefanzweifel.dev]
Posts tagged with laravel
This makes not just testing the UI of an app easier, but also makes onboarding new developers to a project simpler.
Read more [stefanzweifel.dev]
– medium.com - submitted by Mazen Touati – Edit
We will crack the controversy of the repository pattern in Laravel. The good and the bad, and what alternatives we can use to build a maintainable codebase.
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 publishes a super resourceful and practical newsletter. A must for anyone in the Laravel space"
by Freek Van der Herten – 5 minute read – Edit
I'm happy to announce that we've released another new package: spatie/laravel-help-space. This one makes it easy to populate a custom sidebar in HelpSpace with the data from your Laravel app. In this blog post, I'd like to tell you all about it.
– tighten.com - submitted by Jamison Valenta – Edit
Tighten programmer Alison shares an intro to terminable middleware in Laravel. This type of middleware does work after the HTTP response is sent to the browser. Learn when to use it, and a some gotchas.
Read more [tighten.com]
– youtu.be - submitted by Bert De Swaef – Edit
Bert shows us a hidden Laravel gem!
Read more [youtu.be]
– tighten.com - submitted by Jamison Valenta – Edit
Let's walk through how to use Carbon, CarbonPeriod, and Laravel Collections to create a custom calendar in your Laravel apps.
Read more [tighten.com]
– brandur.org – Edit
Here's a strategy for soft deletes where you move data to another table instead of leaving it in-place.
Read more [brandur.org]
by Freek Van der Herten – 5 minute read – Edit
We've released a new package called spatie/laravel-deleted-models. When deleting a model, this package will copy over its attributes to a table called deleted_models.
You can view this package as a "Recycle bin for models".
In this post, I'd like to tell you all about it.
by Freek Van der Herten – 3 minute read – Edit
Laravel 9 introduced a new way to create custom validation rules: invokable rules. It allows you to write a custom validation rule with only one method: __invoke.
– medium.com - submitted by CODE AXION – Edit
I have described where to put your scopes if your model is cluttered with 10 + scopes
Read more [medium.com]
– ashallendesign.co.uk - submitted by Ash Allen – Edit
Stay up-to-date with the latest trends in the Laravel and PHP communities by subscribing to these top YouTube channels. From beginner tutorials to advanced tips, these channels have something for every level of developer.
Read more [ashallendesign.co.uk]
by Freek Van der Herten – 3 minute read – Edit
Livewire is an amazing piece of technology. It is extensively used in two products I work on: Oh Dear and Mailcoach Cloud.
In this post, I'd like to show you a simple technique where Livewire can help to improve your initial page load time significantly.
A pretty cool use case for Laravel Envoy.
Read more [rias.be]
by Freek Van der Herten – 2 minute read – Edit
Now that PHP 8.2 has been released, it's time to upgrade the PHP of your Mac.
If you're using Brew - which you probably are - there are only a few steps involved.
– youtu.be - submitted by Bert De Swaef – Edit
In this video we're having a look at the Query Builder, and how to use it correctly.
We're optimizing our performance by a. lot of request time, models loaded and memory used.
Read more [youtu.be]
by Freek Van der Herten – 9 minute read – Edit
I'm proud to share that we've released two new packages: spatie/laravel-mailcoach-mailer (for Laravel apps) and spatie/mailcoach-mailer (for all other PHP based apps).
Using these two packages, you can send transactional mail through Mailcoach Cloud.
In this blog post, I'd like to share how you can use these packages and how they work under the hood.
– www.eloquentarchitecture.com - submitted by John Freeman – Edit
Each call to the builder will modify the underlying pending request. Every modification, another link in the chain, that will be sent, finally, with get().
Read more [www.eloquentarchitecture.com]
I use all of these on freek.dev as well :-)
Read more [dominik-geimer.com]
– timacdonald.me – Edit
Tim MacDonald wrote a nice post on how to handle duplicate requests.
Read more [timacdonald.me]
by Freek Van der Herten – 1 minute read – Edit
🏎️💨 Here's another WWSD video to promote the 50% discount we'll have today on Laravel Comments and Media Library Ppro. All other spatie product are discounted 30%.