cblanquera / cradle-handlebars
Handlebars for Cradle
Installs: 4 809
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:plugin
Requires
- cradlephp/framework: ~1.1.1
Requires (Dev)
- phpunit/phpunit: 5.7.9
- satooshi/php-coveralls: ^1.0
- squizlabs/php_codesniffer: 2.7.1
This package is auto-updated.
Last update: 2024-12-13 22:13:48 UTC
README
Deprecation Notice: This project has been moved to https://github.com/CradlePHP/Cradle
cradle-handlebars
Mail Handling for Cradle with Swift Mailer
1. Requirements
You should be using CradlePHP currently at dev-master
. See
https://cradlephp.github.io/ for more information.
2. Install
composer require cblanquera/cradle-handlebars
Then in /bootstrap.php
, add
->register('cblanquera/cradle-handlebars')
3. Usage
$template = cradle('global')->handlebars()->compile('{{foo}}'); echo $template(array('foo' => 'bar'));
See http://handlebarsjs.com/ for more information about handlebars.