Download the PHP package urameshibr/lumen-form-request without Composer
On this page you can find all versions of the php package urameshibr/lumen-form-request. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download urameshibr/lumen-form-request
More information about urameshibr/lumen-form-request
Files in urameshibr/lumen-form-request
Package lumen-form-request
Short Description Laravel Form Request adaptation for Lumen framework.
License MIT
Informations about the package lumen-form-request
lumen-form-request
Laravel Form Request adaptation for Lumen framework
Would you like to encourage me by buying me a cup of coffee?
How to install
Lumen 9 (requires php >= 8.0)
The package is automatically tagged on version 1.6+ for Lumen 9 projects.
-
Step 1 - Install the package on your project
- Step 2 - Add the service provider in bootstrap/app.php
OBS: The current package version have a new provider name, if you are updating, you will must to update the provider
name usage on the file bootstrap/app.php
.
- Step 3 - Add a required config file used by the package.
On root project folder, run the command bellow for create a required config file:
After this command, will be created a file config/session.php
in your project folder.
Next step is create your FormRequest and extends from Urameshibr/Requests/FormRequest like the example bellow:
- Link for Laravel Form Request documentation
https://laravel.com/docs/9.x/validation#available-validation-rules
Old versions
Lumen 5.5 (requires php >= 5.6)
Lumen 5.6+ (requires php >= 5.6)
- Add the service provider in bootstrap/app.php
Next step is create your FormRequest and extends from Urameshibr/Requests/FormRequest
Example
- Link for Laravel Form Request documentation
https://laravel.com/docs/5.4/validation#available-validation-rules
Enjoy!