PHPackages                             pagemachine/typo3-mail-css-inliner - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. pagemachine/typo3-mail-css-inliner

ActiveTypo3-cms-extension[Mail &amp; Notifications](/categories/mail)

pagemachine/typo3-mail-css-inliner
==================================

CSS inliner for the TYPO3 mailer

3.2.1(5mo ago)540.9k↓30.6%2[1 issues](https://github.com/pagemachine/typo3-mail-css-inliner/issues)[1 PRs](https://github.com/pagemachine/typo3-mail-css-inliner/pulls)GPL-3.0-or-laterPHPPHP ^8.0CI passing

Since Mar 20Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/pagemachine/typo3-mail-css-inliner)[ Packagist](https://packagist.org/packages/pagemachine/typo3-mail-css-inliner)[ RSS](/packages/pagemachine-typo3-mail-css-inliner/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (16)Versions (18)Used By (0)

CSS inliner for the TYPO3 mailer [![CI](https://github.com/pagemachine/typo3-mail-css-inliner/workflows/CI/badge.svg)](https://github.com/pagemachine/typo3-mail-css-inliner/workflows/CI/badge.svg)
====================================================================================================================================================================================================

[](#css-inliner-for-the-typo3-mailer-)

This extension integrates a [CSS inliner](https://packagist.org/packages/tijsverkoyen/css-to-inline-styles) into the TYPO3 core mailer.

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

[](#installation)

This extension is installable from various sources:

1. Via [Composer](https://packagist.org/packages/pagemachine/typo3-mail-css-inliner):

    ```
     composer require pagemachine/typo3-mail-css-inliner

    ```
2. From the [TYPO3 Extension Repository](https://extensions.typo3.org/extension/mail_css_inliner/)

After installing the extension registers itself automatically, no further configuration is necessary.

Purpose
-------

[](#purpose)

Designing mails is hard. Especially requirements like table layouts and inline styles are complicated to handle and take a lot of time to get right. This extension takes one burden off your shoulders and takes care of turning a regular stylesheet to inline styles. See our blog post about [Mail styling in TYPO3 now easier](https://www.pagemachine.de/blog/mail-styling-typo3/).

Before:

```

        CSS Inline Test

            body {
                color: #333;
            }
            h1 {
                font-size: 36px;
            }
            a {
                color: #337ab7;
            }

        Headline
        Content with link.

```

After:

```

  CSS Inline Test

        body {
            color: #333;
        }
        h1 {
            font-size: 36px;
        }
        a {
            color: #337ab7;
        }

        Headline
        Content with link.

```

Currently only `` elements are supported, external styles via `` are not imported.

Testing
-------

[](#testing)

All tests can be executed with the shipped Docker Compose definition:

```
docker compose run --rm app composer build

```

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance76

Regular maintenance activity

Popularity34

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 89.9% 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 ~202 days

Recently: every ~210 days

Total

15

Last Release

153d ago

Major Versions

1.0.3 → 2.0.02019-07-15

2.1.1 → 3.0.02021-11-29

PHP version history (5 changes)1.0.0PHP ^7.0

2.0.0PHP ^7.2

3.0.0PHP ^7.4

3.0.1PHP ^7.4 || ^8.0

3.1.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10812548?v=4)[Pagemachine AG](/maintainers/pagemachine)[@pagemachine](https://github.com/pagemachine)

---

Top Contributors

[![mbrodala](https://avatars.githubusercontent.com/u/5037116?v=4)](https://github.com/mbrodala "mbrodala (250 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (16 commits)")[![renovate-bot](https://avatars.githubusercontent.com/u/25180681?v=4)](https://github.com/renovate-bot "renovate-bot (12 commits)")

---

Tags

cssinline-stylesmailtypo3typo3-cms-extensioncssmailtypo3inline

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/pagemachine-typo3-mail-css-inliner/health.svg)

```
[![Health](https://phpackages.com/badges/pagemachine-typo3-mail-css-inliner/health.svg)](https://phpackages.com/packages/pagemachine-typo3-mail-css-inliner)
```

###  Alternatives

[fedeisas/laravel-mail-css-inliner

Inline the CSS of your HTML emails using Laravel

5974.6M3](/packages/fedeisas-laravel-mail-css-inliner)[directorytree/imapengine

A fully-featured IMAP library -- without the PHP extension

531175.4k4](/packages/directorytree-imapengine)[inlinestyle/inlinestyle

Apply CSS stylesheets directly as inline styles to a HTML document

140635.8k8](/packages/inlinestyle-inlinestyle)[robertotru/to-inline-style-email-bundle

A Symfony2 bundle for using the CssToInlineStyles translator by tijsverkoyen

59384.3k](/packages/robertotru-to-inline-style-email-bundle)[gushphp/to-inline-style-email-bundle

A Symfony2 bundle for using the CssToInlineStyles translator by tijsverkoyen

59311.5k](/packages/gushphp-to-inline-style-email-bundle)[vemcogroup/laravel-sparkpost-driver

SparkPost driver to use with Laravel 6.x|7.x|8.x|9.x|10.x

421.7M1](/packages/vemcogroup-laravel-sparkpost-driver)

PHPackages © 2026

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