PHP code example of batyukovstudio / envoy

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

    

batyukovstudio / envoy example snippets


ROOT_DIRECTORY=
TELEGRAM_BOT_ENVOY_TOKEN=
TELEGRAM_CHAT_ID_FOR_ENVOY=
TELEGRAM_THREAD_ID_FOR_ENVOY=
GITHUB_WEBHOOK_SECRET=
DEPLOY_GIT_BRANCH=dev

NODE_PACKAGE_MANAGER=
NODE_VERSION=

'root_directory' => env('ROOT_DIRECTORY',''),

'git_branch' => env('DEPLOY_GIT_BRANCH',''),
bash
php artisan vendor:publish  --tag="bat-envoy"
bash
php artisan migrate