PHP code example of kdr-dev / dissect

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

    

kdr-dev / dissect example snippets


config('dissect.enabled') === null
    ? app()->environment('local')   // the default
    : (bool) config('dissect.enabled');

'enabled' => true,
'middleware' => ['web', 'auth', 'can:view-schema'],
sh
php artisan vendor:publish --tag=dissect-config