PHP code example of mevlutcelik / laravel-explorer
1. Go to this page and download the library: Download mevlutcelik/laravel-explorer 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/ */
mevlutcelik / laravel-explorer example snippets
return [
/*
* The path where the explorer will be accessible.
*/
'path' => 'explorer',
/*
* The environments where the explorer is allowed to run.
* For security reasons, this defaults to 'local' only.
*/
'environments' => ['local'],
/*
* Middleware applied to the explorer route.
*/
'middleware' => ['web'],
];
bash
php artisan serve
bash
php artisan vendor:publish --tag="laravel-explorer-config"