indigophp / fuelphp-fieldset-twig
This package is abandoned and no longer maintained.
No replacement package was suggested.
FuelPHP Fieldset Twig integration
dev-master / 0.1.x-dev
2015-03-24 20:15 UTC
Requires
- php: >=5.4
- fuelphp/fieldset: dev-master
- twig/twig: ~1.12
Requires (Dev)
- phpunit/phpunit: ~4.5
This package is auto-updated.
Last update: 2021-11-24 09:12:09 UTC
README
FuelPHP Fieldset Twig integration.
Install
Via Composer
$ composer require indigophp/fuelphp-fieldset-twig
Usage
This package provides an easy way to use fuelphp/fieldset with Twig.
use Indigo\Fuel\Fieldset\RenderProvider\CoreRenders; use Indigo\Fuel\Fieldset\Twig\FieldsetExtension; $extension = new FieldsetExtension(new CoreRenders); $twigEnvironment->addExtension($extension);
Twig syntax:
{{ render_form(form) }}
Testing
$ phpunit
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.