PHP code example of clarkeash / shield
1. Go to this page and download the library: Download clarkeash/shield 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/ */
clarkeash / shield example snippets
Route::middleware('shield:github')->post('/hooks/github', 'HooksController@github');
bash
$ php artisan vendor:publish --tag=config