1. Go to this page and download the library: Download youthage/httpsqs 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/ */
youthage / httpsqs example snippets
use Httpsqs\HttpSQS;
$httpsqs = new HttpSQS($host, $port, $auth, $charset);
//字符串形式
HTTP Simple Queue Service v1.7
------------------------------
Queue Name: newiep
Maximum number of queues: 1000000
Put position of queue (1st lap): 13
Get position of queue (1st lap): 12
Number of unread queue: 1