PHP code example of pjadanowski / scramble-extras

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

    

pjadanowski / scramble-extras example snippets


// config/scramble-extras.php
return [
    'cache' => [
        'enabled' => env('SCRAMBLE_EXTRAS_CACHE', true),
        'path' => env('SCRAMBLE_EXTRAS_CACHE_PATH'), // null = storage/framework/cache/scramble-extras/schemas.php
    ],
];
bash
php artisan vendor:publish --tag=scramble-extras-config
bash
php artisan scramble-extras:cache:clear