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

This package is auto-updated.

Last update: 2021-11-24 09:12:09 UTC


README

Latest Version Software License Build Status Code Coverage Quality Score HHVM Status Total Downloads

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.