PHP
Lighthouse SEO monitoring is now available at Oh Dear
I’m very proud that we have added a new check to Oh Dear. Read more
I’m very proud that we have added a new check to Oh Dear. Read more
Bert shows us a hidden Laravel gem! Read more
Let’s walk through how to use Carbon, CarbonPeriod, and Laravel Collections to create a custom calendar in your Laravel apps. Read more
Here’s a strategy for soft deletes where you move data to another table instead of leaving it in-place. Read more
What I’ve come to realize, though, is that anyone can write code that seems complicated. The hard thing is solving complex problems with simple code. Read more
[AdSense-A]
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.
[AdSense-A]
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.
I have described where to put your scopes if your model is cluttered with 10 + scopes Read more
Some more live coding! Here’s Caleb refactoring away some nasty conditionals Read more
Here’s Matt Staufer live coding some cool array / collection stuff