PHP code example of samuel-nunes / lumen-form-request-validation

1. Go to this page and download the library: Download samuel-nunes/lumen-form-request-validation library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

samuel-nunes / lumen-form-request-validation example snippets


// app/Console/Kernel.php
protected $commands = [
        \SamuelNunes\LumenFormRequestValidation\Console\Commands\RequestMakeCommand::class,
        \SamuelNunes\LumenFormRequestValidation\Console\Commands\RuleMakeCommand::class
    ];