Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thampe/inky

PHP Implementation of ZURB's Foundation for Email parser - Inky
https://github.com/thampe/inky

Last synced: 13 days ago
JSON representation

PHP Implementation of ZURB's Foundation for Email parser - Inky

Awesome Lists containing this project

README

        

# This repository is no longer maintained.

Issue reports and pull requests will not be attended.

# Inky

A PHP Implementation of ZURB's Foundation for Email parser ([Inky](https://github.com/zurb/inky)).

## Installation

You can install this bundle using composer

composer require hampe/inky

or add the package to your `composer.json` file directly.

## Usage and Examples

### Basic Usage.

```php
releaseTheKraken('html...');
```

### Add Tag-Alias

```php
addAlias('test', 'callout')

$inky->releaseTheKraken('123'); //equal to "123"
```

### Add your own component factory

Add your own component factory, to convert custom HTML-Tags.

```php
addComponentFactory(new TestComponentFactory());
$inky->releaseTheKraken('');
```

## License
See the [LICENSE](LICENSE) file for license info (it's the MIT license).