Laravel Pseudo-Daemons
Here's a cool technique by Aaron Francis where he uses artisan commands to create daemons.
Read more [aaronfrancis.com]
Posts tagged with php
Here's a cool technique by Aaron Francis where he uses artisan commands to create daemons.
Read more [aaronfrancis.com]
Here's a nice way to go about filtering Carbon instances
Read more [tomerbe.co.uk]
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.
"Always fresh, useful tips and articles. Carefully selected community content. My favorite newsletter, which I look forward to every time."
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
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]
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…
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!

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]
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
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
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]
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:
Daniel Coulbourne shares some cool Livewire insights.
– protone.media - submitted by Pascal Baljet
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
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]
– doeken.org - submitted by Doeke Norg
The Visitor Pattern opens up your entities to extension without changing them (much); and keeps the code separate.
Read more [doeken.org]
In your tests, you might have used assertDatabaseHas to make sure that a model actual is persisted.
– blog.frankdejonge.nl - submitted by Robin Dirksen
Bugs caused by race conditions can be a huge source or frustration. They are difficult to identify and often difficult to remedy.
Read more [blog.frankdejonge.nl]
Here are a few best practices for working with a large tables.
Read more [42coders.com]