PHP Package: fedeisas/laravel-mail-css-inliner

This PHP library optimizes Laravel email templates by inlining CSS, enhancing SEO and user experience.

Current Version: 5.4.0
Last Updated: 2025-02-19
PHP Requirement: ^8.0.2
Dependencies:
illuminate/support
swiftmailer/swiftmailer
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

The 'laravel-mail-css-inliner' library streamlines email template styling for Laravel projects, boosting SEO performance and ensuring a seamless user experience. By automatically inlining CSS, this tool simplifies the email rendering process and delivers visually appealing messages. With support for customizable styles and advanced optimization techniques, this library is a must-have for Laravel developers aiming to enhance email marketing strategies and engagement levels.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 5.4.1

Clock Coming soon

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/fedeisas/laravel-mail-css-inliner/5.4.1/loader.php';
require_once 'libs/illuminate/support/12.33.0/loader.php';
require_once 'libs/swiftmailer/swiftmailer/6.3.0/loader.php';

use Fedeisas\LaravelMailCssInliner\CssInliner;

$obj = new CssInliner();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.