dev-master
9999999-devTags Parser
CC0-1.0
The Requires
- php >= 5.3.2
The Development Requires
by Alagesan
1.3.0
1.3.0.0Tags Parser
CC0-1.0
The Requires
- php >= 5.3.2
The Development Requires
by Alagesan
Wallogit.com
2017 © Pedro Peláez
Tags Parser
Parser for the merge tags syntax of Mailchimp and Mandrill. Supports placeholder, filters and conditions., (*2)
Download ChimpDrill by using composer:, (*3)
``` bash php composer.phar require cartrabbit/chimpdrill:dev-master, (*4)
Or add the code below to your `composer.json`: ``` json { "require": { "cartrabbit/ChimpDrill": "dev-master" } }
Message: ``` html, (*5)
*|IF:CUSTOMER|* We want your money! *|ELSE:|* We wish you all the best. *|END:IF|* , (*6)
*|IF:INVOICE_COUNT == 0|* All invoices payed. You are the best! *|ELSEIF:INVOICE_COUNT , (*7)
**Parameters:** ``` php array( 'NAME' => 'John Doe', 'CUSTOMER' => true, 'INVOICE_COUNT' => 18, 'WEATHER' => 'rainy', 'MOVIE' => 'The last song' )
Result: ``` html, (*8)
We want your money! , (*9)
Are you kidding? , (*10)
```, (*11)
Tags Parser
CC0-1.0
Tags Parser
CC0-1.0