I shall define this only once original
Here's my talk on our popular Laravel Data package, which I gave at Laracon Online earlier this week.
Here's my talk on our popular Laravel Data package, which I gave at Laracon Online earlier this week.
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.
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."
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.
Povilas Korop of Laravel Daily made a cool video on the internals of our spatie/laravel-login-link package.
A typical Laravel application will likely have many routes, config files and possibly some events. In your development environment, these routes and config files will be loaded and registered in each request. The performance penalty for this is not too big. In a production environment, you want to…
When developing web applications, you probably encounter a lot of places where someone needs to select one or more options in a select or multi-select. These select boxes always need a list of options with labels and values.
In one of our projects, we had options being generated in lots of places. Sometimes these lists of options were the same, leading to a lot of code duplication. Even worse, in some cases, different formats were used to output the same options.
That's why we've created a new package called spatie/laravel-options. It will take a resource which can create options such as an enum, a list of models or even a plain array. And will always create a standardized array of options you can use within your frontend application.
We've released a new package called spatie/laravel-sql-commenter. This one can add comments to SQL queries. These comments allow you to easily pinpoint the origin of a query when looking at your query log.
– rias.be
We've just released laravel-ciphersweet. This package is a wrapper over CipherSweet, which allows you to easily use it with Laravel's Eloquent models.
Read more [rias.be]
– stefanzweifel.io - submitted by Stefan Zweifel
A short introduction to sidecar-browsershot package: How it works and for what it can be used for.
Read more [stefanzweifel.io]
Creating social images for your website is super simple using Browsershot and AWS Lambda.
Read more [yoeri.me]
Laravel 9 has gained a excellent new way to attach files in mails. Using the Attachable interface, you can specify what should happen when an object gets used as an attachment.
Using our media library package you can easily associate any file with an Eloquent model. We've added support for Laravel's Attachable in the latest version of the package.
In this blog post, I'd like to tell you all about it.
– rias.be
Shiki is a beautiful syntax highlighter powered by the same language engine that many code editors use. We've just released a package that allows you to run Shiki on AWS Lambda through Sidecar.
Read more [rias.be]
– rias.be
Onboarding your users is one of the most important things you can do in your SaaS or application. After all, first impressions matter! Caleb Porzio has created an onboard package for Laravel which we (at Spatie) recently took over development and maintenance on.
Read more [rias.be]
Tomas Votruba explains how you can refactor old enum classes (from Spatie and MyCLabs) to native PHP enums
Read more [tomasvotruba.com]
I'm proud to announce that our team has launched a new package called spatie/laravel-login-link.
In this blog post, I'd like to tell you all about it.
I'm proud to announce that our team has released a new premium package called Laravel Comments. Using this package, you can set up a comments section in your Laravel app in no time.
We've made a nice, errr I mean epic launch movie to get you in the right mood.
Laravel Comments includes a Livewire component to render comments. Here's what it looks like:

Of course, we wrote extensive documentation, covering every aspect of Laravel Comments.
It comes with batteries included:
In this blog post, I'd like to introduce the package to you.
I'm proud to announce that our team has released a new package called laravel-livewire-wizard. Using this package, you can set up multi-step wizards quickly using Livewire.
The package is headless, which means that it provides no UI itself, but it makes it easy to build any UI you desire.
You can easily control which step is displayed, access state of other steps, and build any navigation you desire.
I'd like to introduce the package to you in this blog post.
I'm happy to announce that we have released Visit. This tool can display the response of any URL. Think of it as curl for humans. By default, the output will be colourized, and the response code and time will be displayed after the response.

JSON responses will be colourized by default as well.

And there's integration with Laravel: it can log in any user, report the numbers of queries used to build up the response, and more.

I'd like to tell you all about it in this blog post.
I'm proud to announce that Steve Bauman and our team at Spatie have released a new tool called spatie/globay-ray. When installed, you'll be able to use dd, dump and ray functions in any PHP file on your system.
In this stream on YouTube, Francisco Madeira, co-creator of Termwind, guides me through the source code of his amazing package to style content on the CLI