Join thousands of developers

Every two weeks, I share practical tips, tutorials, and behind-the-scenes insights from maintaining 300+ open source packages.

No spam. Unsubscribe anytime. You can also follow me on X.

New major versions for spatie/image and Laravel Media Library have been released

by Freek Van der Herten – 11 minute read

We’ve released a new major version of spatie/image, v3. This package makes it very easy to manipulate images using PHP.

At the same time, we’ve also released a new major version of spatie/laravel-medialibrary. This is a powerhouse package that can associate all kinds of files with Eloquent models. The latest version of this package now uses spatie/image v3 under the hood for manipulating images.

In this blog post, I’ll explain why we made new major versions and how they can be used.

Read more

Workbench App for Packages

world.hey.com - submitted by Tony Messias

A new package by Mior called Workbench lets us set up an example Laravel app inside our packages. This Workbench app can serve as documentation of how the package integrates with a Larave app. Plus, we can use the Workbench models, controllers, routes, etc., in our package's tests and quickly run the Workbench app in the browser!

Read more [world.hey.com]

Skipping tests conditionally in Pest

by Freek Van der Herten – 7 minute read

In this blog post, I'd like to show the easiest way to skip tests conditionally in tests. Using the simple technique, which can be used for other things besides skipping tests, you can make your tests much more flexible.

Read more