Package Data | |
---|---|
Maintainer Username: | samuel-nunes |
Maintainer Contact: | sammoc11@hotmail.com (Samuel Nunes) |
Package Create Date: | 2022-08-20 |
Package Last Update: | 2023-07-15 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-18 03:01:54 |
Package Statistics | |
---|---|
Total Downloads: | 110 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 5 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
This small package contains a laravel-like solution for request form validation.
make:request
make:rule
You can install the package via composer:
composer require samuel-nunes/lumen-form-request-validation
Next, you must load the Artisan commands:
// app/Console/Kernel.php
protected $commands = [
\SamuelNunes\LumenFormRequestValidation\Console\Commands\RequestMakeCommand::class,
\SamuelNunes\LumenFormRequestValidation\Console\Commands\RuleMakeCommand::class
];
php artisan make:request
to generate a new form request validation (it's works like laravel method).
php artisan make:rule
to generate a new rule to use in your form request validation (it's works like laravel method too).
The MIT License (MIT). Please see LICENSE for more information.