Download the PHP package larsklopstra/envelop without Composer
On this page you can find all versions of the php package larsklopstra/envelop. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download larsklopstra/envelop
More information about larsklopstra/envelop
Files in larsklopstra/envelop
Package envelop
Short Description Next generation emails for Laravel
License MIT
Homepage https://github.com/larsklopstra/envelop
Informations about the package envelop
Envelop
Create beautiful, email-client compatible templates using Laravel Blade components and Tailwind-inspired atomic CSS utility classes. Envelop makes email development simple and maintainable.
Features
- 📧 Email-Safe Components - 15 Blade components designed for universal email client compatibility
- 🎨 Atomic CSS System - Tailwind-inspired utility classes that compile to inline styles
- 🔗 Laravel Integration - Works seamlessly with Laravel Mail, zero configuration needed
- ✨ Extensible Architecture - Create custom themes, rules, and presets to match your brand
- 💻 Clean Blade Syntax - Write maintainable templates without managing nested tables
- ✅ Battle-Tested - Compatible with Gmail, Outlook, Apple Mail, and other major clients
Requirements
- PHP 8.2 or higher
- Laravel 12.0 or higher
Installation
Install Envelop via Composer:
Laravel's package auto-discovery will automatically register the service provider.
Quick Start
Create a welcome email template:
The atomic CSS classes automatically convert to inline styles for maximum email client compatibility.
Available Components
Envelop provides 15 email-safe components:
<x-envelop::html>- Document root with email client doctype<x-envelop::head>- Document head with meta tags<x-envelop::body>- Body wrapper with base styles<x-envelop::container>- Centered content container<x-envelop::section>- Content section with table layout<x-envelop::row>- Multi-column row container<x-envelop::column>- Column for layouts<x-envelop::heading>- Responsive headings (h1-h6)<x-envelop::text>- Paragraph text<x-envelop::button>- Call-to-action button<x-envelop::link>- Text link<x-envelop::img>- Responsive image<x-envelop::hr>- Horizontal rule<x-envelop::preview>- Email preview text<x-envelop::font>- Custom font integration
Atomic CSS Classes
Use familiar Tailwind-like utility classes that compile to email-safe inline styles:
Documentation
For complete documentation, including:
- Detailed component API
- Full atomic CSS reference
- Custom themes and presets
- Advanced usage examples
Visit https://github.com/larsklopstra/envelop
Testing
Run the test suite:
Run code style checks:
Changelog
Please see the releases page for information on recent changes.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Security
If you discover any security-related issues, please email [email protected] instead of using the issue tracker.
Credits
- Lars Klopstra
- All Contributors
License
The MIT License (MIT). Please see License File for more information.