State of Generics and Collections
Generics have been on the list of wanted features for a long time by numerous PHP developers. This article explores the different approaches, and what their current state is.
Read more [thephp.foundation]
Generics have been on the list of wanted features for a long time by numerous PHP developers. This article explores the different approaches, and what their current state is.
Read more [thephp.foundation]
– ashallendesign.co.uk - submitted by Ash Allen
Read about the upcoming "property hooks" feature that will be added in PHP 8.4.
Read more [ashallendesign.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.
"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."
– ashallendesign.co.uk - submitted by Ash Allen
Read about how to use PHP 8.4's new "array_find", "array_find_key", "array_all", and "array_any" functions. The article also shows you the Laravel equivalents so you can achieve the same goal now.
Read more [ashallendesign.co.uk]
– tighten.com - submitted by Jamison Valenta
Learn how to add full-text search into your Laravel apps. From simple LIKE queries to MySQL full-text indexes, and landing on Laravel Scout powered by @typesense.
Read more [tighten.com]
– gummibeer.dev - submitted by Tom Witkowski
How to retrieve any geographical data from OpenStreetMap and transform them into usable PHP objects.
Read more [gummibeer.dev]
We’ve released a new package called spatie/pest-plugin-route-testing. This package can test all common routes in your Laravel app by writing a single test.

In this blog post, I’d like to tell you all about it.
– youtu.be - submitted by Bert De Swaef
In this episode of the Quick Win Wednesday series, we're taking a look at whereAny(), which was released with Laravel 10.47. A very elegant way of grabbing data based on a conditional "any of the following columns".
Read more [youtu.be]
When Laravel switched to a simpler exception page, the ability to display solutions for an exception was lost.
Our latest package, called spatie/laravel-error-solutions brings back that powerful feature. When installed, it will display solutions for most common exceptions.
Here’s how that looks it:

And yes, some solutions, like the one in the screenshot above, can be executed on the exception page too.
In this blog post, I’d like to tell you all about it!
– ashallendesign.co.uk - submitted by Ash Allen
Learn about what PHP attributes are and how to use them. We'll also look at how to create your own PHP attributes.
Read more [ashallendesign.co.uk]
– tighten.com - submitted by Jamison Valenta
Single Page Apps... without writing any JavaScript? Let’s do it! Learn how to unlock the power of HTMX in your Laravel applications in our newest blog article from @nicodevs.
Read more [tighten.com]
– flareapp.io - submitted by Spatie
Read more [flareapp.io]
Here's how our latest package works under the hood.
Read more [sebastiandedeyne.com]
– youtu.be - submitted by Bert De Swaef
In this video we're learning how to use Ray to debug your projects. Weither your working with Laravel, PHP, Javascript or some other programming language, Ray is there for you.
Debugging your project was made easy by the guys over at Spatie. They designed and developed a debugging tool for us, called Ray. Available at https://myray.app
Read more [youtu.be]
Tempest, the framework Brent Roose is working on, allows you to attach a tag to a singleton definition, which means you can have multiple singletons of the same class, as long as their tags differ.
Read more [stitcher.io]
– myray.app - submitted by Spatie
Leveraging the Power of Macros in Ray.
Read more [myray.app]
– github.com - submitted by Patrick
Major overhaul of the package API, performance improvements, PHP 8.2+ support, and more!
Read more [github.com]
– alsterholm.com - submitted by Andreas Alsterholm
This article showcases how you can use Eloquent models, rather than a traditional boolean column, as flags in your Laravel application.
Read more [alsterholm.com]
– www.crwlr.software - submitted by Christian Olear
Since working with generators can be a bit tricky if you're new to them, this post offers an intro on how to use them and highlights common pitfalls to avoid.
Read more [www.crwlr.software]
– backpackforlaravel.com - submitted by Karan Datwani
Five Lesser-Known But Useful Composer Commands.
Read more [backpackforlaravel.com]
– myray.app - submitted by Spatie
Learn how to use Ray to test emails in Laravel!
Read more [myray.app]