Setting up and securing a private Composer repository
Alex explains how we use Satis to give users of paid Spatie products access to private repos.
Read more [alexvanderbist.com]
Alex explains how we use Satis to give users of paid Spatie products access to private repos.
Read more [alexvanderbist.com]
– mattstauffer.com – Edit
Matt Stauffer on how to minimize Vue's impact on the Core Web Vitals?
Read more [mattstauffer.com]
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.
"If you are one of the *millions* who have downloaded a Spatie package, then you understand the quality that Freek aims for. The newsletter is of the same quality of any Spatie package you're using."
– stitcher.io – Edit
My colleague Brent shares some thoughts on possible improvements to handling config values.
Read more [stitcher.io]
– www.juststeveking.uk - submitted by Steve McDougall – Edit
Laravel transporter is an easy to use wrapper around Laravel PendingRequest that allows you to define requests as classes, and override options at run time when you need to.
Read more [www.juststeveking.uk]
– laracasts.com – Edit
In this blog post, Jeffrey Way explains why and how he refactored Laracasts from a traditional server rendered app to an SPA using Inertia.
Read more [laracasts.com]
Matthias Noback wrote down some good testing advice.
Read more [matthiasnoback.nl]
– stitcher.io – Edit
Last week we released a new version of spatie/laravel-event-sourcing. Version 5 is probably one of the largest releases since the beginning of the package. We've worked several months on it and have been testing it extensively already in our own projects.
In this post, my colleague Brent will walk you through all the changes and new functionalities.
Read more [stitcher.io]
by Freek Van der Herten – 3 minute read – Edit
Our team has released a new Laravel package: spatie/laravel-artisan-dispatchable. This package allows you to dispatch any job from an artisan command.
In this blog post, I'd like to explain why we created the package and how you can use it.
– ryangjchandler.co.uk - submitted by Ryan Chandler – Edit
Here are a few tips and tricks that you can use in your Alpine 3.x components.
Read more [ryangjchandler.co.uk]
Regular expressions are powerful, PHP but they are not known to be readable, and more often than not, maintaining a regular expression is not a straight-forward task. Here are some tips to improve and write better regular expressions in PHP.
Read more [php.watch]
by Freek Van der Herten – 1 minute read – Edit
I'm thrilled to announce that our premium course Event Sourcing in Laravel has just launched.
If you ever wanted to get started with event sourcing, this is the course for you. It contains a beautifully designed ebook, two hours worth of videos, and a demo Laravel app containing an event-sourced shopping cart.
Event sourcing isn't an all or nothing approach. Even if your project doesn't need the full power of event sourcing, you can still benefit from knowing and implementing best practices from the event sourcing world.
We're offering a 20% launch discount for the next two weeks to celebrate this release.
In this stream, you can see my colleague Brent and I launch the course, and answer questions from the audience.
– jessarcher.com – Edit
Jess Archer show a nice approach on how to use exception in the HTTP layer.
Read more [jessarcher.com]
– Edit
Mohamed shows how you can deal with N+1 problems using the $with model attribute and the newly added Model::preventLazyLoading() method.
– Edit
In a new video, Shruti Balasa explains this basic concept of CSS.
– tideways.com – Edit
Benjamin Eberlei tells the story of a performance mistake that is quickly made even by experienced developers.
Read more [tideways.com]
– Edit
Mohammed Said created another kick ass video, this time on how Laravel handles DB connections.
Tobias explains how you can make this operation very fast even if your table has several million records.
Read more [tpetry.me]
by Freek Van der Herten – 5 minute read – Edit
A couple of years ago, Ignition became the default error page in Laravel.
Ignition provided a vastly improved design over Whoops: it brought Laravel specific niceties (such as showing the routing, queries) and the ability to display and even run solutions (e.g. generating an app key).
At Spatie, we think we can improve the design of Ignition even more. Our initial plan was to release this new design in tandem with Laravel 9 as a big bang surprise release. We've changed our mind on this because we'd like to have feedback from the community.
In this blog post, I'd like to share our ideas and plans for Ignition.
– rosswintle.uk – Edit
Ross Wintle dissected the recent RFC for auto-capturing multi-statement closures in PHP.
Read more [rosswintle.uk]
– www.rias.be – Edit
Laravel recently added parallel testing to the framework using the Paratest package which runs PHPUnit in separate parallel processes. Adding support for this in your own package tests is pretty straightforward using orchestral/testbench.
Read more [www.rias.be]