A lightweight Laravel package to track changes over time original
I'm proud to announce that our team has released a new package called spatie/laravel-stats. This package is a lightweight solution for summarizing changes in your database over time.
Posts tagged with laravel
I'm proud to announce that our team has released a new package called spatie/laravel-stats. This package is a lightweight solution for summarizing changes in your database over time.
The Queue class contains a method named createPayloadUsing which allows you to register a callback that is executed when creating job payloads.
Read more [james.brooks.page]
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’s newsletter is one of the best ways to stay updated with the Laravel and PHP ecosystem. It consistently highlights useful packages, tools, and ideas from the community, especially the amazing work coming from Spatie. As a Laravel developer building SaaS and web platforms, I find it extremely helpful to discover practical tools and insights that improve my development workflow."
YouTube star Povilas Korop shares and discusses five rules from our guidelines.
Here's an excerpt from Event Sourcing in Laravel, an premium course by Spatie launching later this year.
Read more [event-sourcing-laravel.com]
When you cancel a long-running artisan command with Ctrl+C, a SIGINT signal is sent by the operating system to the PHP process. You can use this signal to perform some cleanup quickly.
Symfony 5.2 introduced support for handling signals in commands.
We've released a package called spatie/laravel-signal-aware-commands that provides a substantial improvement to how you can use these signals in a Laravel app. In this blog post, I'd like to tell you all about it.
In this stream, you'll see me lay the foundations for the spatie/laravel-signal-aware-command package.
– www.twilio.com - submitted by Nuno Maduro
In this tutorial, we’ll be looking at how to get started using Pest in a Laravel project. Using the test-driven approach, we’ll be building a simple to-do application that allows you to create, edit, update and delete tasks.
Read more [www.twilio.com]
There are many SaaS applications that allow potential new customers to try out the service using a trial period. Of course, not everybody will convert. After the trial period is over, some people will not use the service anymore. However, if nothing is being done about it, their email address and…
Vite is a frontend build tool like webpack. Instead of bundling development assets, Vite serves native ES modules transpiled with esbuild from the dev server. This means there’s a lot less bundling to do, and results in a very fast developer experience.
Read more [sebastiandedeyne.com]
I'm proud to announce that Mailcoach v4 has been released. Mailcoach already was a great solution to send out bulk emails affordably. With an entirely refreshed UI and new capabilities, Mailcoach now becomes a more powerful platform for all things email:
We've also rewritten our extensive documentation.
In this blog post, I'd like to give you a tour of everything Mailcoach can do.
Response caching is like a progressive enhancement. It will make your app faster in some ways, and some cases, but your app must work perfectly well without it.
Read more [samuelstancl.me]
Here's a recording of the Laravel Worldwide Meetup #7.
Miguel Piedrafita talked about the various options of signing in with Laravel. After that, Caneco shared some of the secrets behind the Laracon Online website.
When you are working with a one-to-many relationship, it is sometimes the case that a particular instance on the "many" side of the relationship is flagged as unique and important to your system in some way. It can be really handy to be able to access that unique instance in a first class way from your models. This post is going to cover how you can do that without introducing any new concepts into your application.
Read more [timacdonald.me]
As a predominantly Laravel developer that is accustomed to Laravel Mix, I wanted to see how to get Tailwind's JIT compiler working with Laravel Mix, and was pleasantly surprised that it was quite simple and just works.
Read more [dyrynda.com.au]
If you're running your queue workers on a server with limited resources, or a server that's also used to serve HTTP requests and do other tasks, it's important to ration the resource used by those workers.
Read more [divinglaravel.com]
– ryangjchandler.co.uk - submitted by Ryan Chandler
When distributing console commands in a package or within an application, making sure data is in the correct format can be important. Let's build a make:user command that takes advantage of Laravel's validation helpers.
Read more [ryangjchandler.co.uk]
Using the newly released spatie/laravel-remote package, you can quickly execute Artisan commands on a remote server.
Here's an example that will clear the cache on the remote server.
php artisan remote cache:clear
In this blog post, I'd like to tell you all about it!
In this streaming session, you can see me build up the package from scratch. You can find the code seen in the stream in the spatie/laravel-remote repo on GitHub. If you want to learn how to build PHP and Laravel packages, consider purchasing our Laravel Package Training video course.
In this talk, given at Laracon Online 2020, I show a simple strategy to make any Laravel app tenant aware using our laravel-multitenancy package.