Download the PHP package adamsafr/form-request-bundle without Composer
On this page you can find all versions of the php package adamsafr/form-request-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download adamsafr/form-request-bundle
More information about adamsafr/form-request-bundle
Files in adamsafr/form-request-bundle
Package form-request-bundle
Short Description An adaptation of the Laravel Form Request for Symfony
License MIT
Informations about the package form-request-bundle
Form Request Bundle
This bundle provides similar solution as the Laravel Form Request. Form request is custom request class that contains validation logic and it's executed (validated) before the controller action is called.
Installation
Applications that use Symfony Flex
Open a command console, enter your project directory and execute:
Applications that don't use Symfony Flex
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the app/AppKernel.php
file of your project:
Configuration
Create the adamsafr_form_request.yaml
file in the config/packages
directory
for Symfony 4 or add it in the app/config/config.yml
file:
Usage
License
It is released under the MIT License.
All versions of form-request-bundle with dependencies
symfony/config Version ^3.4 || ^4.0 || ^5.0
symfony/dependency-injection Version ^3.4 || ^4.0 || ^5.0
symfony/http-kernel Version ^3.4 || ^4.0 || ^5.0
symfony/validator Version ^3.4 || ^4.0 || ^5.0