library slim-form
This library provides a way of annotating Doctrine Entities to be rendered as forms
fousheezy/slim-form
This library provides a way of annotating Doctrine Entities to be rendered as forms
- Sunday, August 17, 2014
- by fousheezy
- Repository
- 1 Watchers
- 0 Stars
- 45 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 1 Open issues
- 1 Versions
- 0 % Grown
This library brings together the Doctrine Annotation library to turn a Doctrine entity into an HTML form by way of Twig view helpers., (*1)
Setup
In your bootstrap file, configure the Doctrine entity manager and Twig View class provided by Slim, then invoke the SlimForm bootstrap's setup functions:, (*2)
\SlimForm\Bootstrap::getInstance()
->setAnnotationReader($annotationReader)
->setView($view);, (*3)
This will add the necessary template directory and twig extensions to the view object and set up the appropriate annotation readers for Doctrine., (*4)
dev-master
9999999-dev
This library provides a way of annotating Doctrine Entities to be rendered as forms
Sources
Download
GPL-2.0+
The Requires