Download the PHP package comphppuebla/easy-forms without Composer
On this page you can find all versions of the php package comphppuebla/easy-forms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download comphppuebla/easy-forms
More information about comphppuebla/easy-forms
Files in comphppuebla/easy-forms
Package easy-forms
Short Description Easy forms processing
License MIT
Informations about the package easy-forms
Easy form handling for PHP
This is a light library to process HTML forms in Web applications. Its main goal is to delegate concerns like, validation, rendering, translation, and dynamic modification/population to well-known components.
This package is intended to be used as a glue for packages that provide the following functionality.
- Rendering (Twig)
- Validation (Zend input filter)
- Special form elements like CSRF tokens (Symfony Security CSRF), and Captcha elements (Zend CAPTCHA).
All these dependencies are optional and more adapters can be added to provide the same functionality with other libraries.
The reason behind this package is that most popular PHP packages (like Symfony and Zend) require you to install several dependencies, like translation, validation, and event dispatching packages, even if you don't need to use them.
If you are already using a form component as part of its corresponding framework, you probably will not find this package very useful. This package is intended to be used when you need a simple integration and you don't need or want to install more packages than you already have.
Examples
You can find some working examples in a small Slim application in this repository.
Unit Tests
Setup the test suite using Composer:
Run it using PHPUnit and PHPSpec:
License
EasyForms
is released under the MIT License.
Documentation
For more details, please review the full documentation.