spekkionu / sqs-queue-driver
AWS SQS driver for pmg/queue
v3.0.0
2018-06-11 19:45 UTC
Requires
- php: ~7.1
- aws/aws-sdk-php: 3.*
- pmg/queue: 4.*
Requires (Dev)
- mockery/mockery: ^1.1
- phpunit/phpunit: ^6.0
This package is auto-updated.
Last update: 2024-11-12 14:14:51 UTC
README
==============================
<?php use Aws\Sqs\SqsClient; use PMG\Queue\Serializer\NativeSerializer; Spekkionu\PMG\Queue\Sqs\Driver\SqsDriver; $sqsClient = new SqsClient([ 'credentials' => [ 'key' => 'KEY', 'secret' => 'SECRECT' ], 'region' => 'us-east-1', 'retries' => 3, 'version' => '2012-11-05' ]); $serializer = new NativeSerializer(); $driver = new SqsDriver($sqsClient, $serializer);