Skip to content

Commit 1580bcc

Browse files
committed
polish
1 parent 4ac2978 commit 1580bcc

File tree

3 files changed

+28
-29
lines changed

3 files changed

+28
-29
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,29 @@ yii-async
22
=========
33

44
Provides translucent api for moving large tasks out of request response
5+
6+
Run tests with:
7+
~~~
8+
vendor/bin/codecept run
9+
~~~
10+
11+
#####Using with AMQP:
12+
######Installing:
13+
```php
14+
'components' => [
15+
'async' => [
16+
'class' => 'bazilio\async\AsyncComponent',
17+
'transportConfig' => [
18+
'transportClass' => 'bazilio\async\transports\AsyncAmqpTransport'
19+
'host' => 'localhost',
20+
'login' => 'guest',
21+
'password' => 'guest',
22+
'vhost' => 'yii',
23+
'exchangeName' => 'yii'
24+
]
25+
]
26+
]
27+
```
28+
######Usage:
29+
For code exampless look into tests:
30+
- [AmqpTest](tests/unit/AmqpTest.php)

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
],
1212
"minimum-stability": "alpha",
1313
"require": {
14-
"yiisoft/yii2": "*",
15-
"yiisoft/yii2-codeception": "*"
14+
"yiisoft/yii2": "*"
1615
},
1716
"require-dev": {
1817
"phpunit/phpunit": "3.7.*",
18+
"yiisoft/yii2-codeception": "*",
1919
"codeception/codeception": "*"
2020
},
2121
"autoload": {

test.php

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)