PHP code example of vipbressanon / livetool

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

    

vipbressanon / livetool example snippets


'providers' => [
    // ...
    Vipbressanon\LiveTool\LiveToolServiceProvider::class,
],
'aliases' => [
    // ...
    'LiveTool' => Vipbressanon\LiveTool\Facades\LiveTool::class,
],

DB_CONNECTION=mysql
DB_HOST=***
DB_PORT=3306
DB_DATABASE=***
DB_USERNAME=***
DB_PASSWORD=***

protected $commands = [
    // ...
    \Vipbressanon\LiveTool\Commands\MsgPush::class
];
shell
php artisan vendor:publish --provider="Vipbressanon\LiveTool\LiveToolServiceProvider"
shell
php artisan migrate:refresh
shell
php artisan wk start