Download the PHP package mcfedr/json-form without Composer
On this page you can find all versions of the php package mcfedr/json-form. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package json-form
Json Form helper
Simply use the JsonControllerTrait
and then use forms as you would normally,
but they now expect to receive JSON.
Install
Composer
AppKernel
Include the bundle in your AppKernel
JSON
The expected JSON will be just like that form values that would be sent.
Suppose you have the following form type
Then the JSON should be
Example
For Symfony 3.x you will need to extend Controller
because the trait needs
access to getParameter
method.
Contributing
To run the tests
All versions of json-form with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
symfony/framework-bundle Version ^5.0|^6.0
sensio/framework-extra-bundle Version ^5.0|^6.0
symfony/form Version ^5.0|^6.0
symfony/validator Version ^5.0|^6.0
psr/container Version ^1.0
symfony/framework-bundle Version ^5.0|^6.0
sensio/framework-extra-bundle Version ^5.0|^6.0
symfony/form Version ^5.0|^6.0
symfony/validator Version ^5.0|^6.0
psr/container Version ^1.0
The package mcfedr/json-form contains the following files
Loading the files please wait ....