PHP code example of devsquad-cockpit / cockpit

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

    

devsquad-cockpit / cockpit example snippets


'channels' => [
    // ...
    'cockpit' => [
        'driver' => 'cockpit',
    ],
],

LOG_STACK=cockpit

php artisan cockpit:test
bash
php artisan cockpit:install