You've already forked ugly-queue
Lots of cleanup, removing of dumb code. More to do.
This commit is contained in:
26
README.md
26
README.md
@@ -7,4 +7,28 @@ Build statuses:
|
||||
- master: [](https://travis-ci.org/dcarbone/ugly-queue)
|
||||
- 0.3.1: [](https://travis-ci.org/dcarbone/ugly-queue)
|
||||
|
||||
Documentation and Test suites forthcoming.
|
||||
## 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.*"
|
||||
```
|
||||
|
||||
## Basic Usage
|
||||
Once installed, you must first initialize an instance of [src/UglyQueueManager.php](UglyQueueManager).
|
||||
This is done as such:
|
||||
|
||||
```php
|
||||
$config = array(
|
||||
'queue-base-dir' => 'path to where you would like queue files and directories to be stored'
|
||||
);
|
||||
|
||||
$manager = new UglyQueueManager($config);
|
||||
```
|
||||
|
||||
Once initialized, you can start adding queues!
|
||||
|
||||
```php
|
||||
$manager
|
||||
```
|
||||
Reference in New Issue
Block a user