chekun/httpsqs

This package is abandoned and no longer maintained. No replacement package was suggested.

php wrapper for httpsqs

1.0.1 2015-12-30 10:04 UTC

This package is not auto-updated.

Last update: 2020-08-21 18:13:30 UTC


README

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);