Skip to content
This repository has been archived by the owner on Jun 23, 2019. It is now read-only.

chekun/httpsqs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php wrapper for httpsqs

Build Status

How to use

<?php
    $queue = new HTTPSQS\Queue('queue_name');
    //enqueue
    $queue->push('data');
    //dequeue
    echo $queue->shift();
    //view queue status
    echo $queue->status();
    //view specific position 
    echo $queue->view($position = 1);
    //reset queue
    $queue->reset();
    //set queue max length
    $queue->maxQueue($length = 10000);