Laravel Tutorials

Inline CSS with Laravel and Mailgun

Published

Antoine Augusti has a new tutorial out for automatically inlining css with outgoing emails.

This came at a great time for me because in last weeks newsletterI forgot to inline the styles. :) I actually looked at the package Antoine is using tijsverkoyen/CssToInlineStyles but after my typical 10 seconds of skimming the page I seen this:

Documentation: The class is well documented inline. If you use a decent IDE you’ll see that each method is documented with PHPDoc.

I said to myself, bah if you can’t even show a simple example then I’m not wasting my time and moved on. I’ve written about Open Source Marketing before on my personal site, because I think spending the extra 5 minutes of showcasing the benefits matters. Thank you, Antoine for showing just how easy this package is.

Eric L. Barnes photo

Eric is the creator of Laravel News and has been covering Laravel since 2012.

Sponsored

acquaintsoft logo
Acquaint Softtech

Hire Laravel developers with AI expertise at $20/hr. Get started in 48 hours.

Visit Acquaint Softtech

The latest

View all →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article