Skip to content

Instantly share code, notes, and snippets.

View akahen's full-sized avatar

Alen Kahen akahen

View GitHub Profile
@fbrnc
fbrnc / send-receive-sqs.php
Last active April 18, 2024 10:49
Sending and receiving messages from/to AWS SQS via PHP
<?php
// curl -sS https://getcomposer.org/installer | php
// php composer.phar require aws/aws-sdk-php
// export AWS_ACCESS_KEY_ID=...
// export AWS_SECRET_ACCESS_KEY=...
$queueUrl = '<INSERT_URL_OF_EXISTING_QUEUE_HERE>';