Posts tagged with spatie

Join thousands of developers

Every two weeks, I share practical tips, tutorials, and behind-the-scenes insights from maintaining 300+ open source packages.

No spam. Unsubscribe anytime. You can also follow me on X.

A package to display solutions on the Laravel error page

by Freek Van der Herten – 7 minute read

When Laravel switched to a simpler exception page, the ability to display solutions for an exception was lost.

Our latest package, called spatie/laravel-error-solutions brings back that powerful feature. When installed, it will display solutions for most common exceptions.

Here’s how that looks it:

And yes, some solutions, like the one in the screenshot above, can be executed on the exception page too.

In this blog post, I’d like to tell you all about it!

Read more

Become a debugging wizard with RAY

youtu.be - submitted by Bert De Swaef

In this video we're learning how to use Ray to debug your projects. Weither your working with Laravel, PHP, Javascript or some other programming language, Ray is there for you.

Debugging your project was made easy by the guys over at Spatie. They designed and developed a debugging tool for us, called Ray. Available at https://myray.app

Read more [youtu.be]

Mailcoach has a beautiful new coat of paint!

Mailcoach is our premium mail service that allows you to send newsletters, build powerful email automation, and send transactional mail. It truly can cover all your mailing needs.

Unlike most competitors, we only price by the number of emails you send and not by how large your subscriber list is.

After having revamped our marketing pages last month, we’re launching our new beautiful UI for the app today. Let’s take a closer look at all the changes.

A fresh look

Let’s dive straight in; here’s what a list of subscribers now looks like.

If you’ve used Mailcoach previously, you’ll notice immediately that this screen has been redesigned from scratch. The colors, font, and general layout have all been updated to reflect the design we introduced to our marketing pages.

Behind the scenes, we use Filament to render those tables. We’ve highly customized how they look, so you don’t have the feeling you’re looking at the stock tables. Of course, every list has powerful sorting, search, bulk actions, and filtering options that you know and love from Filament.

Easy to use automations

Email automation is one of Mailcoach's most powerful features. Using automations, you can build up any email flow you might need. You might also know this as “drip campaigns.”

We’ve totally revamped how automations look. Here’s a simple automation that sends mail 10 minutes after someone signs up.

At Spatie, we use this feature to send a couple of emails during the trial period on Flare.

The real power of automations comes into play when using branching logic. For Flare, we’ll automatically invite people who are subscribed after two months since onboarding to our affiliate program.

Self-hosted Mailcoach

Next to the hosted version of Mailcoach, we also offer a self-hosted version. This version has been updated as well. Because we need to update every view, we decided to tag it as a new major version. You’ll find the upgrade notes here.

In closing

With both the Mailcoach marketing pages and the Mailcoach app itself updated to the new design, we feel the Mailcoach platform is on another level now.

Take a look for yourself by starting a free 14-day trial.

Read more

Creating beautiful invoices using Tailwind and Laravel PDF

by Freek Van der Herten – 2 minute read

Last week, we released a new package called Laravel PDF that allows you to transform Blade views into PDFs. Under the hood, Chromium is used to perform the transformation. Because Chromium is an up-to-date browser, you can use any modern CSS you like.

Some people have asked if they can use Tailwind to style their documents. And I’m happy to report you can. Let’s take a look at a minimal example to showcase this.

Read more