PHP
Writing a Static Analyser for PHP in Rust – Overview
A new series on writing a static analyser for PHP in Rust. Read more
A new series on writing a static analyser for PHP in Rust. Read more
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…
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