PHP code example of neelkanthk / laravel-surveillance-ui
1. Go to this page and download the library: Download neelkanthk/laravel-surveillance-ui 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/ */
neelkanthk / laravel-surveillance-ui example snippets
Route::middleware(["surveillance"])->get('/path', function () {});
/**
* The prefix to be used in the surveillance ui routes
*/
"prefix" => "surveillance/ui",
/**
* The middleware(s) to be used in the surveillance ui routes
*/
"middleware" => ["web", "auth"], //auth middleware added