@@ -7,11 +7,21 @@ To successfully use the examples you will need a running RabbitMQ server.
77
88## Requirements
99
10- Additionally you need ` PHP 5.3 ` and ` php-amqplib ` . To get these
10+ ### PHP 5.3+
11+
12+ You need ` PHP 5.3 ` and ` php-amqplib ` . To get these
1113dependencies on Ubuntu type:
1214
1315 sudo apt-get install git-core php5-cli
1416
17+
18+ ### Composer
19+
20+ Then [ install Composer] ( https://getcomposer.org/download/ ) per instructions on their site.
21+
22+
23+ ### Client Library
24+
1525Then you can install ` php-amqplib ` using [ Composer] ( http://getcomposer.org ) .
1626
1727To do that install Composer and add it to your path, then run the following command
@@ -21,35 +31,35 @@ inside this project folder:
2131
2232## Code
2333
24- [ Tutorial one: "Hello World!"] ( http://www.rabbitmq.com/tutorial-one-php.html ) :
34+ [ Tutorial one: "Hello World!"] ( http://www.rabbitmq.com/tutorials/ tutorial-one-php.html ) :
2535
2636 php send.php
2737 php receive.php
2838
2939
30- [ Tutorial two: Work Queues] ( http://www.rabbitmq.com/tutorial-two-php.html ) :
40+ [ Tutorial two: Work Queues] ( http://www.rabbitmq.com/tutorials/ tutorial-two-php.html ) :
3141
3242 php new_task.php "A very hard task which takes two seconds.."
3343 php worker.php
3444
3545
36- [ Tutorial three: Publish/Subscribe] ( http://www.rabbitmq.com/tutorial-three-php.html )
46+ [ Tutorial three: Publish/Subscribe] ( http://www.rabbitmq.com/tutorials/ tutorial-three-php.html )
3747
3848 php receive_logs.php
3949 php emit_log.php "info: This is the log message"
4050
41- [ Tutorial four: Routing] ( http://www.rabbitmq.com/tutorial-four-php.html ) :
51+ [ Tutorial four: Routing] ( http://www.rabbitmq.com/tutorials/ tutorial-four-php.html ) :
4252
4353 php receive_logs_direct.php info
4454 php emit_log_direct.php info "The message"
4555
4656
47- [ Tutorial five: Topics] ( http://www.rabbitmq.com/tutorial-five-php.html ) :
57+ [ Tutorial five: Topics] ( http://www.rabbitmq.com/tutorials/ tutorial-five-php.html ) :
4858
4959 php receive_logs_topic.php "*.rabbit"
5060 php emit_log_topic.php red.rabbit Hello
5161
52- [ Tutorial six: RPC] ( http://www.rabbitmq.com/tutorial-six-php.html ) :
62+ [ Tutorial six: RPC] ( http://www.rabbitmq.com/tutorials/ tutorial-six-php.html ) :
5363
5464 php rpc_server.php
5565 php rpc_client.php
0 commit comments