PHP code example of andreaspabst / lumen-request-validation

1. Go to this page and download the library: Download andreaspabst/lumen-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/ */

    

andreaspabst / lumen-request-validation example snippets


 
use App\Http\Requests\ExampleRequest;

class ExampleController extends Controller
{
    public function index(ExampleRequest $request) {
	    // ...
    }
    //...
}