How to test Laravel's invokable rules original
Laravel 9 introduced a new way to create custom validation rules: invokable rules. It allows you to write a custom validation rule with only one method: __invoke.
Laravel 9 introduced a new way to create custom validation rules: invokable rules. It allows you to write a custom validation rule with only one method: __invoke.
Google Lighthouse is an open-source, automated tool for improving the quality of web pages. It has audits for performance, accessibility, progressive web apps, SEO, and more.
Our newest package, spatie/lighthouse-php makes it easy to run Lighthouse using PHP. 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."
I'm proud to share that we've released two new packages: spatie/laravel-mailcoach-mailer (for Laravel apps) and spatie/mailcoach-mailer (for all other PHP based apps).
Using these two packages, you can send transactional mail through Mailcoach Cloud.
In this blog post, I'd like to share how you can use these packages and how they work under the hood.
I use all of these on freek.dev as well :-)
Read more [dominik-geimer.com]
We published a fun series of videos as a promo for our Black Friday sales. These videos are inspired by the more recent apple announcement videos. Let's take a look behind the scenes to see how they were made! The WWSD videos We used WWSD to name our week of Black Friday discounts. It stands for…
🏎️💨 Here's another WWSD video to promote the 50% discount we'll have today on Laravel Comments and Media Library Ppro. All other spatie product are discounted 30%.
We made a fun intro video to celebrate our Black Friday sales.
TLDR: All Spatie products are discounted 30% for a week, Mailcoach is discounted 50% only today.
We've made a fun video to announce Spatie's Black Friday sales. Have a look!
PHP 8.2 has been released. It is a minor release compared to 8.0 and 8.1. This can be partly attributed to the departure of Nikita Popov as one of the most significant contributors to the PHP language. The PHP language has a lot of maintainers and isn't built by one person, but Nikita was one of the most active of them. Features like union types, typed properties, named arguments, and arrow functions, to name a few, were all added by Nikita.
We're proud to announce that we have released v6 of the self-hosted version of Mailcoach.
If you have an active license, you'll be happy to know that this is a free upgrade. If you don't have a license, you can purchase it here.
In this blog post, I'd like to tell you all about the new features of this shiny new version.
We've released a new package called spatie/laravel-horizon-watcher. This one can automatically restart Horizon after any code change.
In this post, I'd like to share why we've built and how you can use it.
We're proud to announce that Mailcoach Cloud has been launched. Using Mailcoach, you can create beautiful email campaigns, set up drip campaigns (or any email automation), and send transactional emails.
Mailcoach works well, whether your email list has 5 or 500 000 subscribers (yes, Mailcoach has been used for lists of that size), or even more. And thanks to our sharp pricing, Mailcoach is the most affordable solution compared to our competitors in most scenarios.
Privacy-minded people will appreciate that open- and click tracking is off by default. And to people that require full GDPR compliance, we can proudly say that everything is hosted on EU servers owned by EU companies.
If you decide to subscribe, you can use this coupon code for one month free: ONEMONTHFREE. You can help us get the word out, by retweeting our launch tweet, or upvoting us on Product Hunt.
In this blog post, I'd like to share why we've built Mailcoach, how you can use it, and how we have built it.
Let's dig in!
I'm proud to announce that our team has released a new package called spatie/laravel-model-flags. This one makes it easy to add flags to any model in your app.
In this post, I'd like to share why we've built it and showcase its usage.
In Mailcoach Cloud and the upcoming v6 of the self-hosted version of Mailcoach, we've made it much simpler to connect an email-sending service to Mailcoach.
Read more [mailcoach.app]
I'm proud to announce that our team has released a new package called laravel-dynamic-servers.
This package can help start and stop servers when you need them. The prime use case is to spin up extra working servers to help you process the workload on queues.
In this blog post, I'd like to introduce the package to you.
Here's a nice video from Povilas in which he explores our spatie/laravel-stubs package.
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.
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.