You've already forked ugly-queue
Update README.md
This commit is contained in:
10
README.md
10
README.md
@@ -3,16 +3,14 @@ ugly-queue
|
||||
|
||||
A simple file-based FIFO queue system for PHP 5.3.3+
|
||||
|
||||
Build statuses:
|
||||
- master: [](https://travis-ci.org/dcarbone/ugly-queue)
|
||||
- 0.3.1: [](https://travis-ci.org/dcarbone/ugly-queue)
|
||||
Build status: [](https://travis-ci.org/dcarbone/ugly-queue)
|
||||
|
||||
## Installation
|
||||
This library is designed to be installed into your app using [https://getcomposer.org/](Composer).
|
||||
Simply copy-paste the following line into your `"requires:"` hash:
|
||||
|
||||
```json
|
||||
"dcarbone/ugly-queue": "0.3.*"
|
||||
"dcarbone/ugly-queue": "0.4.*"
|
||||
```
|
||||
|
||||
## Basic Usage
|
||||
@@ -57,10 +55,10 @@ $queueBaseDir = 'path to where you would like queue files and directories to be
|
||||
|
||||
$manager = new UglyQueueManager($queueBaseDir);
|
||||
|
||||
// 'tasty-sandwich' queue will exist now
|
||||
|
||||
$tastySandwich = $manager->getQueue('sandwiches');
|
||||
|
||||
// 'sandwiches' queue will exist now
|
||||
|
||||
$tastySandwich->lock();
|
||||
|
||||
// Specify the number of items you wish to retrieve from the queue
|
||||
|
||||
Reference in New Issue
Block a user