Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion CREDITS
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

Following people contributed to this project:

Barry Pederson <bp@barryp.org> - author of original Python lib
Expand Down
340 changes: 170 additions & 170 deletions LICENSE

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,34 +18,34 @@ Below is the original README file content. Credits goes to the original authors.

Start your RabbitMQ server, then get the source:

$ git clone git://github.com/tnc/php-amqplib.git
$ git clone git://github.com/tnc/php-amqplib.git

Open two Terminals and on the first one execute the following commands to start the consumer:

$ cd php-amqplib/demo
$ php amqp_consumer.php
$ cd php-amqplib/demo
$ php amqp_consumer.php

Then on the other Terminal do:

$ cd php-amqplib/demo
$ php amqp_publisher.php some text to publish
$ cd php-amqplib/demo
$ php amqp_publisher.php some text to publish

You should see the message arriving to the process on the other Terminal

Then to stop the consumer, send to it the `quit` message:

$ php amqp_publisher.php quit
$ php amqp_publisher.php quit

# Debugging #

If you want to know what's going on at a protocol level then add the following constant to your code:

<?php
define('AMQP_DEBUG', true);
<?php
define('AMQP_DEBUG', true);

... more code
... more code

?>
?>


# Original README: #
Expand Down
Loading