Clone this repository:
git clone https://github.com/msmakouz/samle.git
Install dependencies:
cd sample
composer install
This example contains two files, push.php
, and createQueue.php
.
- The
push.php
file allows for sending a message to an already existing queue. - The
createQueue.php
file allows for creating a queue.
Before using these files, you need to open them and add your credentials to access SQS.
Execute file push.php
and pass the queue
name as argument.
php push.php queueName
Execute file createQueue.php
and pass the queue
name as argument.
php createQueue.php queueName