File tree Expand file tree Collapse file tree 3 files changed +28
-29
lines changed Expand file tree Collapse file tree 3 files changed +28
-29
lines changed Original file line number Diff line number Diff line change @@ -2,3 +2,29 @@ yii-async
2
2
=========
3
3
4
4
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 )
Original file line number Diff line number Diff line change 11
11
],
12
12
"minimum-stability" : " alpha" ,
13
13
"require" : {
14
- "yiisoft/yii2" : " *" ,
15
- "yiisoft/yii2-codeception" : " *"
14
+ "yiisoft/yii2" : " *"
16
15
},
17
16
"require-dev" : {
18
17
"phpunit/phpunit" : " 3.7.*" ,
18
+ "yiisoft/yii2-codeception" : " *" ,
19
19
"codeception/codeception" : " *"
20
20
},
21
21
"autoload" : {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments