Is it a DTO or a Value Object?
Matthias Noback explains the difference.
Read more [matthiasnoback.nl]
Matthias Noback explains the difference.
Read more [matthiasnoback.nl]
– Edit
Here's a nice video from Povilas in which he explores our spatie/laravel-stubs package.
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."
Ben Ramsey explains how can start working on PHP's source code using JetBrains' C IDE.
Read more [dev.to]
My colleage Sebastian digs named arguments in PHP. As do I!
Read more [sebastiandedeyne.com]
– ralphjsmit.com - submitted by Ralph J. Smit – Edit
In this tutorial I'll show you how to use event listeners to stop outgoing emails just before they're sent.
Read more [ralphjsmit.com]
A cool new tool by Matthias Noback.
Read more [matthiasnoback.nl]
Chris Fidao makes sure that an app feels fast no matter from where you visit it. Fascinating stuff!
Read more [fly.io]
– dyrynda.com.au – Edit
How to swap Laravel's URL signing key is not documented, but luckily Michael wrote a good post on it!
Read more [dyrynda.com.au]
by Freek Van der Herten – 5 minute read – Edit
One of the joys of using packages in the Laravel ecosystem is how easy they are to install. Packages can be pulled in using Composer, and Laravel will automatically discover them.
In this post, you'll learn how to easily add an install command, making it even easier for package users to start using a package.
by Freek Van der Herten – 2 minute read – Edit
I'm proud to announce that our team has released a new small package: spatie/laravel-model-info. Let's take a look at what this package can do.
Let's take a look at the different ways to generate a random number in PHP.
Read more [php.watch]
– doeken.org - submitted by Doeke Norg – Edit
It's time to replace your mocked event dispatchers with a real one.
Read more [doeken.org]
– tighten.com - submitted by Jamison Valenta – Edit
If you're running a Laravel application in the 5's, have a legacy application bootstrapped inside Laravel, don't have any tests, or are staring in silent terror at just how long ago your production server's PHP version hit its end-of-life, this post is for you!
Read more [tighten.com]
– mateusguimaraes.com - submitted by Mateus Guimarães – Edit
Learn how I was able to easily scale an application to handle hundreds of millions of jobs using nothing but Laravel, Redis and MySQL
Read more [mateusguimaraes.com]
– ryangjchandler.co.uk - submitted by Ryan Chandler – Edit
A blog post about an experiment that converts PHP to Rust and is capable of generating native binaries.
Read more [ryangjchandler.co.uk]
– stitcher.io - submitted by Brent – Edit
You might be afraid of this change, but most likely this won't affect you.
Read more [stitcher.io]
– aschmelyun.com - submitted by Andrew Schmelyun – Edit
If you've been working with PHP regularly, chances are you've run across an Interface, Trait, or Abstract Class. At first glance, they might appear to have a few similarities between them, and it can be hard to make out their differences and use cases.
Read more [aschmelyun.com]
by Freek Van der Herten – 5 minute read – Edit
While working on the upcoming Oh Dear redesign, I noticed that list that displays all sites of a team was very slow.
To display that list, a lot of queries were used. With a couple of minor adjustments, I could reduce the number of queries needed to just a single one, solving the performance problem.
In this small blog post, I'd like to share one of the techniques I used.
The best dependency manager just got a little bit better.
Read more [php.watch]
Here's an update on what the PHP core contributors have been doing these past few weeks.
Read more [thephp.foundation]