PHPackages                             1985apps/inline-email - 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. 1985apps/inline-email

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

1985apps/inline-email
=====================

226PHP

Since Aug 2Pushed 10y ago1 watchersCompare

[ Source](https://github.com/1985apps/inline-email)[ Packagist](https://packagist.org/packages/1985apps/inline-email)[ RSS](/packages/1985apps-inline-email/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Inline Email
============

[](#inline-email)

A Simple PHP library to generate HTML files with inline css while still using classes while writing the markup. Primarily focused on being able to create simple HTML email content

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

[](#installation)

### Composer

[](#composer)

```
$ composer require 1985apps/inline-email:dev-master

$ "requries" : {
    "1985apps/inline-email": "dev-master"
}

```

Usage
=====

[](#usage)

### Composer

[](#composer-1)

```
require_once "vendor/autoload.php";
$i = new InlineEmail\InlineEmail("");

```

### Without Composer

[](#without-composer)

```
require_once "path/to/src/InlineEmail/InlineEmail.php";
$i = new InlineEmail\InlineEmail("");

```

---

### Files and configuration

[](#files-and-configuration)

There are 2 files that need to be setup

- mail.php - File which contains the HTML
- style.php - File which contains the CSS styling

**mail.php**

*This file should contain the HTML structure that you want generated*

```
