This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Form
William DURAND c1959571ac [Components] Tests/Autoloading fixes
* Switched to Composer to manage "dev" dependencies
* Fixed READMEs
* Excluded vendor in phpunit.xml.dist files
* Fixed message in bootstrap.php files
* Added autoloader for the component itself
2012-05-01 17:51:41 +02:00
..
Event fixed CS 2011-06-08 12:16:48 +02:00
Exception [Form] Removed obsolete exceptions 2012-04-17 16:44:38 +02:00
Extension fixed CS 2012-04-20 09:05:48 +02:00
Guess [Form] Added constant Guess::VERY_HIGH_CONFIDENCE 2012-02-10 12:01:35 +01:00
Resources/config [Form] Deprecated FormValidatorInterface and moved implementations to event listeners 2012-04-13 16:42:01 +02:00
Tests [Components] Tests/Autoloading fixes 2012-05-01 17:51:41 +02:00
Util [Form] Moved logic of addXxx()/removeXxx() methods to the PropertyPath class 2012-04-08 12:32:17 +02:00
.gitignore [Components] Tests/Autoloading fixes 2012-05-01 17:51:41 +02:00
AbstractExtension.php Remove useless code 2011-07-04 14:08:20 +02:00
AbstractType.php [Form] Fixed documentation, and the DateType (default options) 2012-04-11 17:26:46 +02:00
AbstractTypeExtension.php [Form] Fixed documentation, and the DateType (default options) 2012-04-11 17:26:46 +02:00
CallbackTransformer.php [Various] Fixed errors on PHPDocs exception names (TransformationFailedException) 2011-08-09 00:14:29 +02:00
CallbackValidator.php [Form] Deprecated FormValidatorInterface and moved implementations to event listeners 2012-04-13 16:42:01 +02:00
composer.json [Components] Tests/Autoloading fixes 2012-05-01 17:51:41 +02:00
DataMapperInterface.php fixed CS 2011-06-08 12:16:48 +02:00
DataTransformerInterface.php [Form] Deprecated FieldType, which has been merged into FormType 2012-04-17 16:44:39 +02:00
DefaultOptions.php [Form] Fixed option support in Form component 2012-04-11 16:37:42 +02:00
Form.php [Form] Deprecated FieldType, which has been merged into FormType 2012-04-17 16:44:39 +02:00
FormBuilder.php [Form] Deprecated FieldType, which has been merged into FormType 2012-04-17 16:44:39 +02:00
FormError.php [Form] added support for error message pluralization 2012-02-09 07:57:19 +01:00
FormEvents.php [Form] Deprecated FormValidatorInterface and moved implementations to event listeners 2012-04-13 16:42:01 +02:00
FormExtensionInterface.php [Form] phpDoc 2011-05-13 11:00:04 +02:00
FormFactory.php fixed CS 2012-04-20 09:05:48 +02:00
FormFactoryInterface.php [Form] added support for parent of FormBuilder 2012-02-02 10:09:50 +01:00
FormInterface.php [Form] Deprecated FieldType, which has been merged into FormType 2012-04-17 16:44:39 +02:00
FormTypeExtensionInterface.php [Form] Fixed option support in Form component 2012-04-11 16:37:42 +02:00
FormTypeGuesserChain.php [Form] Deprecated FieldType, which has been merged into FormType 2012-04-17 16:44:39 +02:00
FormTypeGuesserInterface.php [DoctrineBridge] fixed some CS 2011-12-13 10:22:12 +01:00
FormTypeInterface.php [Form] Fixed documentation, and the DateType (default options) 2012-04-11 17:26:46 +02:00
FormValidatorInterface.php [Form] Deprecated FormValidatorInterface and moved implementations to event listeners 2012-04-13 16:42:01 +02:00
FormView.php [Form] Simplified CSRF mechanism and removed "csrf" type 2012-04-17 16:44:38 +02:00
LazyOption.php [Form] Fixed option support in Form component 2012-04-11 16:37:42 +02:00
LICENSE Updated LICENSE files copyright 2012-02-22 10:10:37 +01:00
Options.php [Form] Fixed option support in Form component 2012-04-11 16:37:42 +02:00
phpunit.xml.dist [Components] Tests/Autoloading fixes 2012-05-01 17:51:41 +02:00
README.md [Components] Tests/Autoloading fixes 2012-05-01 17:51:41 +02:00
ReversedTransformer.php [Form] Fix the ReversedTransform class 2011-05-10 20:25:22 +02:00

Form Component

Form provides tools for defining forms, rendering and binding request data to related models. Furthermore it provides integration with the Validation component.

Resources

Silex integration:

https://github.com/fabpot/Silex/blob/master/src/Silex/Provider/FormServiceProvider.php

Documentation:

http://symfony.com/doc/2.0/book/forms.html

Resources

You can run the unit tests with the following command:

phpunit

If you also want to run the unit tests that depend on other Symfony Components, install dev dependencies before running PHPUnit:

php composer.phar install --dev