Overriding vendor classes
– downing.tech – Edit
Ever found yourself wanting to make a small tweak to a PHP file in a Composer dependency? Here's how to do it without forking the entire package.
Read more [downing.tech]
– downing.tech – Edit
Ever found yourself wanting to make a small tweak to a PHP file in a Composer dependency? Here's how to do it without forking the entire package.
Read more [downing.tech]
A monorepo helps manage the complexity of a big codebase. Here's how you can create and manage such a monorepo.
Read more [blog.logrocket.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.
"As a Laravel developer, this is the one newsletter I most look forward to. Freek has a talent for distilling packages or techniques down to something immediately useful - one tip can save you hours and even weeks. It's concise and practical and highly relevant."
by Freek Van der Herten – 23 minute read – Edit
Now that we are in the final days of 2021, let's take a look back at that stuff my team and I did in 2021.
– doeken.org - submitted by Doeke Norg – Edit
Quick access to the highest or lowest value of a dataset.
Read more [doeken.org]
– aaronfrancis.com – Edit
Here's a cool technique by Aaron Francis where he uses artisan commands to create daemons.
Read more [aaronfrancis.com]
– tomerbe.co.uk – Edit
Here's a nice way to go about filtering Carbon instances
Read more [tomerbe.co.uk]
– flareapp.io – Edit
I'm really proud of how our team at Spatie has pushed Flare this year. Here's a list of everything we improved. Spoiler: it's a lot!
Read more [flareapp.io]
– invariance.dev - submitted by Nicolas Beauvais – Edit
In some cases, the Laravel validator gives out too many details. What if we want to use the power of the validator without giving anything in the response?
Read more [invariance.dev]
by Freek Van der Herten – 1 minute read – Edit
Whenever I upgrade PHP, I seem to have troubles installing imagick. This command pecl install imagick always results in an error "'pcre2.h' file not found". To fix that error, you should issue these commands: brew install pcre2 ln -s /opt/homebrew/Cellar/pcre2/10.39/include/pcre2.h…
by Freek Van der Herten – 15 minute read – Edit
I'm proud to announce that we've released a new package called Laravel Health. As the name implies, this package can be used to monitor the health of your Laravel application.
It offers many checks out of the box, and an easy way to create custom checks. When something is wrong, you can get a notification, or view the status on a dashboard.
The package also offers deep integration with Oh Dear, allowing for even more robust monitoring
I want to tell you all about it in this blog post. Let's go!

by Freek Van der Herten – 2 minute read – Edit
I've used this little bash alias for many years to quickly run the tests inside of a project.
alias p="vendor/bin/phpunit"
With this alias in place, I can run the tests by typing "p" on the CLI. Nice!
For a long time, everything was great! But then, Pest appeared on the scene. It's an alternative test runner for PHP with a high focus on developer experience.
A to-the-point summary of all awesome PHP features
Read more [front-line-php.com]
by Freek Van der Herten – 1 minute read – Edit
Earlier this week the PHP Foundation was announced. In this stream on GitHub, my buddies Christoph Rumpel, James Brooks and I discuss what we think this means for the future of PHP.
– chriswhite.is - submitted by Chris White – Edit
Choosing between Swoole and Roadrunner in a Laravel Octane deployment can be overwhelming - in this post I compare the advantages and disadvantages of both.
Read more [chriswhite.is]
– aaronfrancis.com - submitted by Aaron Francis – Edit
An introduction to using bitmasks in general, and their usage in PHP, Laravel, and MySQL.
Read more [aaronfrancis.com]
The PHP Foundation will be a non-profit organization whose mission is to ensure the long life and prosperity of the PHP language by funding part/full-time developers that contribute to the language.
Read more [blog.jetbrains.com]
by Freek Van der Herten – 2 minute read – Edit
I am excited to share that my team and I have just launched v2.0 of our Laravel Package Training video course.
Here's a the introductory video for the course:
– Edit
Daniel Coulbourne shares some cool Livewire insights.
– protone.media - submitted by Pascal Baljet – Edit
In this series, I show you new features and improvements to the Laravel framework since the original release of version 8. This week is about the Database and Eloquent features in Laravel 8.
Read more [protone.media]
– protone.media - submitted by Pascal Baljet – Edit
The Laravel team released so many great Laravel 8.x updates over the last year, it's incredible! I wrote a series of blog posts highlighting some of the best new features and improvements. Today: Collections.
Read more [protone.media]