PHP code example of zae / laravel-view-xray

1. Go to this page and download the library: Download zae/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/ */

    

zae / 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