1. Go to this page and download the library: Download symphoria/laravel-apex 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/ */
symphoria / laravel-apex example snippets
'queues' => [
'chat' => [
'profile' => 'latency-critical',
'min_processes' => 0, // nothing running when nothing is queued
'min_processes_when_active' => 2, // warm pool while people are using the app
'max_processes' => 8,
'use_activity' => true,
],
'reports' => [
'profile' => 'background',
'queues' => ['reports', 'reports-bulk'], // one pool reading several queues
'max_processes' => 2,
],
],
'environments' => [
'production' => ['queues' => ['chat' => ['max_processes' => 24]]],
],