magroski / simple-sqs
A simple client to send messages to Amazon SQS
v1.0.1
2019-05-20 23:05 UTC
Requires
- php: ^7.1
- aws/aws-sdk-php: ^3.27
Requires (Dev)
- object-calisthenics/phpcs-calisthenics-rules: ^3.1
- phpstan/phpstan: ^0.10.0
- roave/security-advisories: dev-master
- slevomat/coding-standard: 4.5
- squizlabs/php_codesniffer: *
This package is auto-updated.
Last update: 2024-12-21 21:25:58 UTC
README
This library provides a quick and simple way to send messages to Amazon SQS.
Usage examples
$config = new Config('access_key', 'secret_key', 'ue-east-1', 'https://sqs.queue.url'); $client = new Client($config); $data = json_encode(['book' => 1]); # Real-time $client->sendMessage($data); # With 1 minute delay $client->sendDelayedMessage($data, 60);