Download the PHP package matt9mg/concrete5-symfony-form without Composer
On this page you can find all versions of the php package matt9mg/concrete5-symfony-form. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download matt9mg/concrete5-symfony-form
More information about matt9mg/concrete5-symfony-form
Files in matt9mg/concrete5-symfony-form
Package concrete5-symfony-form
Short Description Symfony Form Integration For Concrete5
License MIT
Homepage https://github.com/matt9mg/concrete5-symfony-forms
Informations about the package concrete5-symfony-form
Concrete5 Symfony Form Component
The Form component allows you to easily create, process and reuse HTML forms using the Symfony Form Component within Concrete 5.
Tested with 8.5.4 +
Resources
- https://documentation.concrete5.org/
- https://symfony.com/doc/current/components/form.html
- https://github.com/matt9mg/concrete5-symfony-form/issues
Installation
Using the Form Component in a view
This is a generic example using doctrine entities, but can be used as a raw form or other class.
Rendering a form
Override supplied templates or add custom ones
How to use the C5 Specific form extensions
There are two new Types and .
The below new config options have public constants for these options.
Configuration Options for FileManagerType::class
In the normal symfony way when declare the field type array the below options are available for this field type.
file_manager_type => 'APP' or 'AUDIO' or 'DOC' or 'FILE' or 'IMAGE' or 'TEXT' or 'VIDEO'
file_manager_args => []
Example within a form class
Configuration Options for SitemapType::class
In the normal symfony way when declare the field type array the below options are available for this field type.
selector_type => 'SELECT_PAGE' or 'QUICK_SELECT' or 'MULTIPLE_SITEMAP' or 'SELECT_FROM_SITEMAP'
selector_type_args => []
selector_type_starting_point => 'HOME_CID'
Feedback
Feedback is always welcome, want to add some features please raise a PR, I hope this helps you :)
All versions of concrete5-symfony-form with dependencies
symfony/form Version 4.*
symfony/templating Version ^5.1
symfony/translation Version ^5.1
symfony/http-foundation Version ^5.1
symfony/security-csrf Version ^5.1
symfony/validator Version ^5.1
doctrine/annotations Version ^1.10
doctrine/cache Version ^1.10