Skip to content

Commit a82bc9d

Browse files
eve-atramunasd
authored andcommitted
Remove unnecessary $ from code blocks in README
Code blocks are already formatted, and GitHub provides a copy button. The $ symbol caused inconvenience because users had to manually remove it after pasting the command into the terminal. Also, please update the description link (www.rabbitmq.com/getstarted.html). Now it redirects to https://www.rabbitmq.com/tutorials
1 parent 9f50fe6 commit a82bc9d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Extensions that modify existing methods like `alternate exchanges` are also supp
5050
Ensure you have [composer](http://getcomposer.org) installed, then run the following command:
5151

5252
```bash
53-
$ composer require php-amqplib/php-amqplib
53+
composer require php-amqplib/php-amqplib
5454
```
5555

5656
That will fetch the library and its dependencies inside your vendor folder. Then you can add the following to your
@@ -72,29 +72,29 @@ use PhpAmqpLib\Message\AMQPMessage;
7272
With RabbitMQ running open two Terminals and on the first one execute the following commands to start the consumer:
7373

7474
```bash
75-
$ cd php-amqplib/demo
76-
$ php amqp_consumer.php
75+
cd php-amqplib/demo
76+
php amqp_consumer.php
7777
```
7878

7979
Then on the other Terminal do:
8080

8181
```bash
82-
$ cd php-amqplib/demo
83-
$ php amqp_publisher.php some text to publish
82+
cd php-amqplib/demo
83+
php amqp_publisher.php some text to publish
8484
```
8585

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

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

9090
```bash
91-
$ php amqp_publisher.php quit
91+
php amqp_publisher.php quit
9292
```
9393

9494
If you need to listen to the sockets used to connect to RabbitMQ then see the example in the non blocking consumer.
9595

9696
```bash
97-
$ php amqp_consumer_non_blocking.php
97+
php amqp_consumer_non_blocking.php
9898
```
9999

100100
## Change log
@@ -329,7 +329,7 @@ define('AMQP_DEBUG', true);
329329
To run the publishing/consume benchmark type:
330330

331331
```bash
332-
$ make benchmark
332+
make benchmark
333333
```
334334

335335
## Tests and Contributing

0 commit comments

Comments
 (0)