Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/thampe/inky
- Owner: thampe
- License: mit
- Created: 2016-03-13T13:59:38.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-27T10:30:31.000Z (almost 7 years ago)
- Last Synced: 2024-12-15T05:29:53.350Z (25 days ago)
- Language: PHP
- Homepage:
- Size: 34.2 KB
- Stars: 45
- Watchers: 6
- Forks: 25
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).