puli / twig-extension
A Puli extension for the Twig templating system.
1.0.0-beta8
2016-01-14 12:44 UTC
Requires
- php: ^5.3.9|^7.0
- puli/repository: ^1.0-beta9
- twig/twig: ^1.20|^2.0
- webmozart/path-util: ^2.0
Requires (Dev)
- phpunit/phpunit: ^4.6
- puli/discovery: ^1.0-beta9
- puli/url-generator: ^1.0-beta4
- sebastian/version: ^1.0.1
- symfony/http-kernel: ^2.3
Suggests
- puli/url-generator: to use the resource_url() function
This package is auto-updated.
Last update: 2024-11-08 01:02:11 UTC
README
Latest release: 1.0.0-beta8
PHP >= 5.3.9
With this extension for the Twig templating engine, you can refer to template files through Puli paths:
echo $twig->render('/acme/blog/views/show.html.twig');
Read the Puli documentation if you want to learn more about Puli.
Authors
Installation/Documentation
Follow the guide The Puli Extension for Twig to install the extension in your project. This guide will tell you all you need to know to use the extension.
Contribute
Contributions to are very welcome!
- Report any bugs or issues you find on the issue tracker.
- You can grab the source code at Puli’s Git repository.
Support
If you are having problems, send a mail to bschussek@gmail.com or shout out to @webmozart on Twitter.
License
All contents of this package are licensed under the MIT license.