2017 © Pedro PelĂĄez
 

library fieldset

Custom fieldset features built around Fuel Fieldset and Validation package

image

indigophp/fieldset

Custom fieldset features built around Fuel Fieldset and Validation package

  • Wednesday, May 6, 2015
  • by mark.sagikazar
  • Repository
  • 2 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Indigo Fieldset

Latest Version Software License Build Status Code Coverage Quality Score HHVM Status Total Downloads, (*1)

Custom form features built around Fuel Fieldset and Validation package., (*2)

Install

Via Composer, (*3)

``` bash $ composer require indigophp/fieldset, (*4)



## Usage Create your entity which you want to use in the form: ``` php /** * @Form */ class Entity { /** * @Form\Field('text') */ protected $property; }

Create your metadata factory:, (*5)

``` php use Indigo\Fieldset\FieldsetManager; use Indigo\Fieldset\Metadata\Driver\Annotation; use Metadata\MetadataFactory;, (*6)

$driver = new Annotation(/* instance of Doctrine\Common\Annotations\Reader /); $factory = new MetadataFactory($driver); $manager = new FieldsetManager($factory, / instance of Fuel\Fieldset\Builder\BuilderInterface */);, (*7)

$form = $manager->generateForm('Entity'); $manager->populateForm($entity, $form); $validator = $manager->generateValidation('Entity');, (*8)



## Testing ``` bash $ phpspec run

Contributing

Please see CONTRIBUTING for details., (*9)

Security

If you discover any security related issues, please contact us at security@indigophp.com., (*10)

Credits

License

The MIT License (MIT). Please see License File for more information., (*11)

The Versions

06/05 2015

dev-master

9999999-dev https://indigophp.com

Custom fieldset features built around Fuel Fieldset and Validation package

  Sources   Download

MIT

The Requires

 

The Development Requires

by MĂĄrk SĂĄgi-KazĂĄr

form validation fieldset