Lots of cleanup, removing of dumb code. More to do.

This commit is contained in:
2015-09-29 11:35:48 -05:00
parent 4020de5223
commit 232e228475
5 changed files with 328 additions and 408 deletions

View File

@@ -7,4 +7,28 @@ Build statuses:
- master: [![Build Status](https://travis-ci.org/dcarbone/ugly-queue.svg?branch=master)](https://travis-ci.org/dcarbone/ugly-queue)
- 0.3.1: [![Build Status](https://travis-ci.org/dcarbone/ugly-queue.svg?branch=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
```