Building social images with Browsershot and AWS
Creating social images for your website is super simple using Browsershot and AWS Lambda.
Read more [yoeri.me]
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.
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."
– 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]
These tips are also useful for any kind of presentation, whether on a conference, or an internal presentation for your company.
Read more [www.morling.dev]
A nice list of things to keep in mind when writing software or documentation.
Read more [leerob.io]
– 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]
Personally I don't know if this is a good practice, but you (and future me) might like it.
Read more [www.aaronsaray.com]
Tomas Votruba explains how you can refactor old enum classes (from Spatie and MyCLabs) to native PHP enums
Read more [tomasvotruba.com]
– ralphjsmit.com - submitted by Ralph J. Smit
Use the Stripe CLI with Laravel Valet to listen to webhooks locally.
Read more [ralphjsmit.com]
Dave Calnan has been using Remix in production for about 6 months now and has decided to add a Laravel backend to the stack. Here's what he's learned from the process.
Read more [davecalnan.blog]
A good overview what you can do with variadic arguments...
Read more [www.exakat.io]
There are a couple of nice ideas there to solve longstanding problems with UUIDs
Read more [www.ietf.org]
– siipo.la - submitted by Peter
What’s the best lossless image format? Comparing PNG, WebP, AVIF, and JPEG XL
Read more [siipo.la]
Adam shows the cool new stuff!
Laravel gives you the flexibility to choose the structure of controllers yourself, which is both a blessing and a curse. You won't find any recommendations in the official Laravel docs, so let's try to discuss various options, based on one specific example.
Read more [laravel-news.com]
– stefanzweifel.io - submitted by Stefan Zweifel
Ever needed to work with an SDK and wished you could use Http::fake() in your Laravel tests?
This blog post explains how you can achieve this for the Facebook Business SDK using the Adapter pattern.
Read more [stefanzweifel.io]
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.
Martin Joo shares some cool things you can do with Laravel's ORM.
Read more [martinjoo.dev]
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.
A cool new package made by Luke Downing
Read more [downing.tech]