Download the PHP package robinmglsk/data-merge-php without Composer
On this page you can find all versions of the php package robinmglsk/data-merge-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package data-merge-php
DataMergePHP - Personalize your strings
Great for giving you users an easy way to personalize there mails / text messages with tags. More features then str_ireplace
.
Usages
Tag options
{{ tag }}
- default tag{{ ucwords(tag) }}
- Change first character of every word to uppercase{{ ucfirst(tag) }}
- Change first character of string to uppercase{{ strtolower(tag) }}
- Convert string to lowercase{{ strtoupper(tag) }}
- Convert string to uppercase{{ date( tag, format )}}
- Convert timestamp to string, for format you can use http://php.net/manual/en/function.date.php
You can use ||
inside your tag to define a default value. Example: {{ tag || client }}
If the value of tag is empty client wil be used.
Examples
Check out our exampels in the example folder.
All versions of data-merge-php with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
The package robinmglsk/data-merge-php contains the following files
Loading the files please wait ....