PHP code example of beyondcode / laravel-view-xray
1. Go to this page and download the library: Download beyondcode/laravel-view-xray 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/ */
beyondcode / laravel-view-xray example snippets
return [
/*
* Determines if the Xray package should be enabled.
*/
'enabled' => env('XRAY_ENABLED', true),
/*
* If you want to exclude certain views from being processed by Xray,
* you can list them here. Be aware that the check only applies to the
* root views that you add here. If these views
bash
php artisan vendor:publish --provider=BeyondCode\\ViewXray\\ViewXrayServiceProvider