PHP code example of jemgdevp / laravel-domo

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

    

jemgdevp / laravel-domo example snippets


return [
    'ai_driver' => 'opencode', // openai | anthropic | opencode | your own
    
    'mcp' => [
        'enabled' => true,
        'port' => 3000,
        'host' => '127.0.0.1',
    ],
    
    'dashboard' => [
        'enabled' => true,
        'environments' => ['local'], // environments where the dashboard auto-registers
        'route' => 'domo',
        'host' => '127.0.0.1',
        'port' => 8080,
        'middleware' => ['web'],
    ],
    
    'tui' => [
        'enabled' => true,
        'theme' => 'default',
        'colors' => true,
    ],
    
    'database' => [
        'connection' => config('database.default'),
        'tables' => [
            'exclude' => 'migrations,failed_jobs',
        ],
    ],
];
bash
php artisan vendor:publish --tag=domo-config
bash
php artisan domo:serve --open
php artisan domo:serve --host=0.0.0.0 --port=3000 --open
bash
php artisan domo:tui
bash
php artisan domo:tui --no-colors --simple