PHP code example of mr4-lc / route-viewing

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

    

mr4-lc / route-viewing example snippets


[
    'lock' => [
        'suffix' => '/sedit',
    ],
    'port' => 8090,
    'config' => [
        '0' => [
            'user_class' => App\Models\User::class,
            'display_name' => 'name',
        ],
        '1' => [
            'user_class' => Encore\Admin\Auth\Database\Administrator::class,
            'display_name' => 'name',
        ],
    ],
]

php artisan websocket:init