PHPackages                             adamlc/premailer-cli-wrapper - 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. [CLI &amp; Console](/categories/cli)
4. /
5. adamlc/premailer-cli-wrapper

ActiveLibrary[CLI &amp; Console](/categories/cli)

adamlc/premailer-cli-wrapper
============================

PHP CLI wrapper for Premailer (https://github.com/premailer/premailer)

0.0.4(11y ago)118.0k1MITPHPPHP &gt;=5.3.3

Since Aug 26Pushed 11y ago1 watchersCompare

[ Source](https://github.com/adamlc/premailer-cli-wrapper)[ Packagist](https://packagist.org/packages/adamlc/premailer-cli-wrapper)[ RSS](/packages/adamlc-premailer-cli-wrapper/feed)WikiDiscussions master Synced 3w ago

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

Premailer CLI Wrapper
=====================

[](#premailer-cli-wrapper)

This library is a PHP CLI wrapper for [Premailer](https://github.com/premailer/premailer). Premailer is a tool to inline all of your CSS to ensure best compatibility with email clients.

Premailer is written in Ruby, but can be accessed via a CLI. You will first need to install the Rubygem:

```
sudo gem install premailer
```

Install via Composer
--------------------

[](#install-via-composer)

To install AddressFormat as a Composer package add this to your composer.json:

```
"adamlc/premailer-cli-wrapper": "0.0.*"
```

Run `composer update`

Usage Instructions
------------------

[](#usage-instructions)

WARNING! This library currently doesn't have any unit tests and very much error checking. It will develop over time as I begin to use it in Production.

```
