Composer 2.0 has been released
Here are the most important changes and upgrade instructions.
Read more [blog.packagist.com]
Here are the most important changes and upgrade instructions.
Read more [blog.packagist.com]
I'm proud to announce the release of our newest package Laravel Backup Server. This paid package can backup several servers at once. When a backup contains files also present in a previous backup, deduplication using hard links will be performed. Even though you will see full backups in the…
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.
"Freek publishes a super resourceful and practical newsletter. A must for anyone in the Laravel space"
Tomas Votruba explains how you can create composer patches.
Read more [tomasvotruba.com]
We released a new package called spatie/laravel-cronless-schedule. It can run the Laravel scheduler (or any other command really), without relying on cron. Instead of cron, a never-ending ReactPHP loop is used.
In this blog post, I'd like to introduce the package to you.
Laravel's native scheduler allows you to schedule Artisan commands to run every minute. For a project I'm working on I needed to schedule a command to run every few seconds. I found a good solution to do this using an ReactPHP powered event loop. Because this solution could be helpful for others as well, I decided to package it up.
Using the laravel-short-schedule package, you can schedule artisan commands to run every second or even lower frequencies. In this blogpost I'd like to introduce the package.
Matt Stauffer shows a good workflow for this.
Read more [mattstauffer.com]
Together with my colleagues at Spatie, we have produced over 200 packages with more than 75 million downloads in total.
We learned a lot by quality packages like laravel-permission, laravel-backup, browsershot, laravel-medialibrary, and many more. We feel we have a pretty good workflow to produce reliable, readable, and maintainable packages.
We want to share the knowledge we have built up over the year with you in our new premium video course, titled Laravel Package Training.
A nice way of structuring an app and good example of handling multitenancy in a light way by the Tighten team.
Read more [tighten.co]
– aaronfrancis.com - submitted by Aaron Francis
A Laravel package to mimic daemons via scheduled commands without having to change server configuration.
Read more [aaronfrancis.com]
Today we released a package to make Laravel apps tenant aware, called laravel-multitenancy. The philosophy of this package is that it should only provide the bare essentials to enable multitenancy.
The package can determine which tenant should be the current tenant for the request. It also allows you to define what should happen when switching the current tenant to another one.
It works for multitenancy projects that need to use one or multiple databases.
In this blog post, I'd like to introduce the package to you.
Composer v2 has a new feature that your server environment is checked at the run-time before the autoloader is even initialized. This is everything you should know about it
Read more [php.watch]
Composer version 2 will be mostly compatible with your existing workflows, while bringing some more great new features.
Read more [php.watch]
At Spatie we have 100+ servers that we manage for our clients. The past few weeks, I've invested some time in creating a new Laravel package, called laravel-backup-server that can back them all up. In the video below you'll get a first look at the package.
In this post, I'd like to show you a quick demo of our new package called laravel-log-dumper.
Aren't you tired of having to think about which artisan command to execute? The spatie/laravel-random-command package takes that pain away. It provides a random command that will pick a random command and execute it.
– driesvints.com - submitted by Dries Vints
A package by Dries Vints to easily make use of the Heroicons built by Steve Schoger & Adam Wathan in your Laravel Blade views.
Read more [driesvints.com]
Our team released a new package called spatie/ssh. This package allows you to execute commands via an SSH connection.
– dev.to
A good overview of new things Yarn has to offer.
Read more [dev.to]
For a couple of projects I needed to read and write a couple of very large Excel and CSV files. I didn't find a good package that does this so I decided to create one myself. Under the hood it uses generators, so memory usage will remain low, even when working with large files.
In this blogpost I'd like to walk you through spatie/simple-excel.
At Spatie we have several projects where the UI is rendered using JavaScript (we're big fans of Inertia). The backend and routes are defined in the Laravel app. The backend sends information to the frontend using API resources.
We often add the available routes the frontend can use as links property on the resource. To avoid having to add all routes manually, my colleague Ruben released a package, called laravel-resource-links that can automatically add resource links to the API resource.
In this post, I'd like to introduce the package to you.