PHPackages                             larsklopstra/envelop - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. larsklopstra/envelop

ActiveLibrary[Templating &amp; Views](/categories/templating)

larsklopstra/envelop
====================

Next generation emails for Laravel

v1.1.0(3mo ago)61.3k↓64.3%MITPHPPHP ^8.2CI passing

Since Feb 3Pushed 3mo agoCompare

[ Source](https://github.com/Larsklopstra/envelop)[ Packagist](https://packagist.org/packages/larsklopstra/envelop)[ Docs](https://github.com/larsklopstra/envelop)[ GitHub Sponsors](https://github.com/larsklopstra)[ RSS](/packages/larsklopstra-envelop/feed)WikiDiscussions 1.x Synced 3w ago

READMEChangelog (3)Dependencies (4)Versions (5)Used By (0)

Envelop
=======

[](#envelop)

[![Latest Version on Packagist](https://camo.githubusercontent.com/6ea6e06485bc209c070823066f2758a6d599f6433608b822bd908782a2428308/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6172736b6c6f70737472612f656e76656c6f702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/larsklopstra/envelop)[![GitHub Tests Action Status](https://camo.githubusercontent.com/929df314d5d9e083ad78e7fb3d89f1082c62ed39087791f255f1c0e2f3f191c0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c6172736b6c6f70737472612f656e76656c6f702f74657374732e796d6c3f6272616e63683d6d6173746572266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/larsklopstra/envelop/actions?query=workflow%3Atests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/e06dbf6ed7634b2ce6859f2e6ff50a45084ae9eb0d90b315030e1f2d6fb93f44/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6172736b6c6f70737472612f656e76656c6f702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/larsklopstra/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
--------

[](#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
------------

[](#requirements)

- PHP 8.2 or higher
- Laravel 12.0 or higher

Installation
------------

[](#installation)

Install Envelop via Composer:

```
composer require larsklopstra/envelop
```

Laravel's package auto-discovery will automatically register the service provider.

Quick Start
-----------

[](#quick-start)

Create a welcome email template:

```

          Welcome to Our Service

          Thanks for signing up! We're excited to have you on board.

          Get Started Now

          © 2026 Your Company. All rights reserved.

```

The atomic CSS classes automatically convert to inline styles for maximum email client compatibility.

Available Components
--------------------

[](#available-components)

Envelop provides 15 email-safe components:

- `` - Document root with email client doctype
- `` - Document head with meta tags
- `` - Body wrapper with base styles
- `` - Centered content container
- `` - Content section with table layout
- `` - Multi-column row container
- `` - Column for layouts
- `` - Responsive headings (h1-h6)
- `` - Paragraph text
- `` - Call-to-action button
- `` - Text link
- `` - Responsive image
- `` - Horizontal rule
- `` - Email preview text
- `` - Custom font integration

Atomic CSS Classes
------------------

[](#atomic-css-classes)

Use familiar Tailwind-like utility classes that compile to email-safe inline styles:

```

```

Documentation
-------------

[](#documentation)

For complete documentation, including:

- Detailed component API
- Full atomic CSS reference
- Custom themes and presets
- Advanced usage examples

Visit

Testing
-------

[](#testing)

Run the test suite:

```
composer test
```

Run code style checks:

```
composer format
```

Changelog
---------

[](#changelog)

Please see the [releases page](https://github.com/larsklopstra/envelop/releases) for information on recent changes.

Contributing
------------

[](#contributing)

Contributions are welcome! Please feel free to submit a Pull Request.

Security
--------

[](#security)

If you discover any security-related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Lars Klopstra](https://github.com/larsklopstra)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

44

—

FairBetter than 91% of packages

Maintenance82

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~14 days

Total

4

Last Release

96d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25669876?v=4)[Lars Klopstra](/maintainers/LarsKlopstra)[@Larsklopstra](https://github.com/Larsklopstra)

---

Top Contributors

[![Larsklopstra](https://avatars.githubusercontent.com/u/25669876?v=4)](https://github.com/Larsklopstra "Larsklopstra (8 commits)")

---

Tags

emaillaravellaravelcomponentsmailemailbladetailwindtemplatesmailablehtml emailatomic-css

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/larsklopstra-envelop/health.svg)

```
[![Health](https://phpackages.com/badges/larsklopstra-envelop/health.svg)](https://phpackages.com/packages/larsklopstra-envelop)
```

###  Alternatives

[robsontenorio/mary

Gorgeous UI components for Livewire powered by daisyUI and Tailwind

1.5k531.0k21](/packages/robsontenorio-mary)[ddfsn/blade-components

Blade Components is a hand-crafted, UI component library for building consistent web experiences in Laravel apps.

234.6k](/packages/ddfsn-blade-components)[technikermathe/blade-lucide-icons

A package to easily make use of Lucide icons in your Laravel Blade views.

18379.7k9](/packages/technikermathe-blade-lucide-icons)[electrik/slate

Slate - a Laravel Blade UI Kit is a set of anonymous blade components built using TailwindCSS v4 with built-in dark mode support for your next Laravel project

102.4k1](/packages/electrik-slate)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
