mathmarques / smarty-view
Slim Framework 4 view helper built on top of the Smarty templating component
Installs: 124 115
Dependents: 1
Suggesters: 0
Security: 0
Stars: 24
Watchers: 3
Forks: 15
Open Issues: 0
Requires
- php: ^7.2 || ^8.0
- slim/slim: ^4.0
- smarty/smarty: ^3.1|^4.0
Requires (Dev)
- phpunit/phpunit: ^8.5.13 || ^9.3.8
README
This is a Slim Framework 4 view helper built on top of the Smarty templating component. You can use this component to create and render templates in your Slim Framework application.
For Slim Framework 3 see 1.x branch
Install
Via Composer
$ composer require mathmarques/smarty-view "^2.0"
Requires Slim Framework 4 and PHP 7.2 or newer.
Usage
TODO
Custom template functions
TODO
Testing
TODO
Contributing
Please see CONTRIBUTING for details.
Credits
- Matheus Marques
- Project based on Twig-View by Josh Lockhart
License
The MIT License (MIT). Please see License File for more information.