gobline/form

Form component

v1.0.0 2015-12-03 09:22 UTC

This package is auto-updated.

Last update: 2024-04-12 18:00:18 UTC


README

The Form component is still in alpha stage. It has been designed to allow to:

  • add form elements to the form and print them (with label, attributes, validation errors, etc.)
  • bind entities to the form and pre-populate it
  • validate those entities with user-defined filters

TODO's

  • add different types of form elements
  • handle the case where an entity contains an array of entities
  • phpunit tests
  • code documentation

Installation

You can install the Form component using the dependency management tool Composer. Run the require command to resolve and download the dependencies:

composer require gobline/form