1. Go to this page and download the library: Download dockcodes/dock-ray-laravel 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/ */
use Dock\Ray\Laravel\Events\TransactionStarting;
use Illuminate\Support\Facades\Event;
Event::listen(TransactionStarting::class, function (TransactionStarting $event) {
// DockRay panel-specific service; not