PHP code example of motikan2010 / sensitive-response-detector
1. Go to this page and download the library: Download motikan2010/sensitive-response-detector 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/ */
motikan2010 / sensitive-response-detector example snippets
Route::group(['middleware' => 'sensitive.detector'], function () {
Route::get('/', function () {
return view('welcome');
});
});
$ php artisan vendor:publish --tag=detector