PHP code example of mmstewart / laravel-x-ray

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

    

mmstewart / laravel-x-ray example snippets


return [

    'github_token' => env('GITHUB_TOKEN'),

    'cache' => [
        'enabled' => true,
        'skeleton' => 60 * 24 * 7,
        'default_branch' => 60 * 24,
        'packagist' => 60 * 2,
    ],

    'analyzers' => [
        'env' => true,
        'composer' => true,
        'config' => true,
        'bootstrap' => true,
    ],

    'minimum_severity' => 'info',

];

'cache' => [
    'enabled' => false,
],

'minimum_severity' => 'info',
bash
php artisan laravel-x-ray