PHP code example of baywa-re-lusy / queue
1. Go to this page and download the library: Download baywa-re-lusy/queue 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/ */
baywa-re-lusy / queue example snippets
use BayWaReLusy\QueueTools\QueueService;
use BayWaReLusy\QueueTools\Adapter\AwsSqsAdapter;
$adapter = new AwsSqsAdapter($awsRegion, $awsKey, $awsSecret, $sqsEndpoint);
$queueService = new QueueService($adapter);
use BayWaReLusy\QueueTools\QueueService;
use BayWaReLusy\QueueTools\Adapter\AzureQueueAdapter;
$adapter = new AzureQueueAdapter($queueEndpoint, $sasToken);
$queueService = new QueueService($adapter);