Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/lorenzo/pinky

A Foundation for Emails (Inky) template transpiler
https://github.com/lorenzo/pinky

email foundation inky php

Last synced: 6 days ago
JSON representation

A Foundation for Emails (Inky) template transpiler

Awesome Lists containing this project

README

        

# Pinky

A PHP Transpiler for ([Inky](https://github.com/foundation/inky)), the templating language made for the Foundation for Email framework.

## Installation

You can install this bundle using composer

composer require lorenzo/pinky

## Usage and Examples

### Basic Usage

```php
saveHTML();
```

You can transpile strings directly:

```php
Contents');
echo $transpiled->saveHTML();
```

And you can also transpile many files or strings in batch:

```php
saveHTML();
}
```

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