e0ipso / amazon-sqs-php-extended-client-lib
An extension to the Amazon SQS client that enables sending and receiving messages up to 2GB via Amazon S3.
Installs: 106 377
Dependents: 0
Suggesters: 0
Security: 0
Stars: 16
Watchers: 3
Forks: 9
Open Issues: 1
Requires
- php: >=5.6
- aws/aws-sdk-php: ^3.18
- ramsey/uuid: >=3.4
Requires (Dev)
- phpunit/phpunit: ^5.4
This package is auto-updated.
Last update: 2024-10-18 14:56:52 UTC
README
Amazon SQS Extended Client Library for PHP
The Amazon SQS Extended Client Library for PHP enables you to manage Amazon SQS message payloads with Amazon S3. This is especially useful for storing and retrieving messages with a message payload size greater than the current SQS limit of 256 KB, up to a maximum of 2 GB. Specifically, you can use this library to:
- Specify whether message payloads are always stored in Amazon S3 or only when a message's size exceeds a max size (defaults to 256 KB).
- Send a message that references a single message object stored in an Amazon S3 bucket.
- Get the corresponding message object from an Amazon S3 bucket.
- Delete the corresponding message object from an Amazon S3 bucket.
You can install this library using composer doing:
composer require e0ipso/amazon-sqs-php-extended-client-lib
Getting Started
- Sign up for AWS -- Before you begin, you need an AWS account. For more information about creating an AWS account and retrieving your AWS credentials, see AWS Account and Credentials in the AWS SDK for PHP Developer Guide.
- Sign up for Amazon SQS -- Go to the Amazon SQS console to sign up for the service.
- Minimum requirements -- To use the sample application, you'll need PHP 5.6+ and Composer. For more information about the requirements, see the Getting Started section of the Amazon SQS Developer Guide.
- Further information - Read the API documentation and the SQS & S3 recommendations.
Acknowledgements
- This library is inspired by the very similar Java library.
Feedback
- Give us feedback here.
- If you'd like to contribute a new feature or bug fix, we'd love to see Github pull requests from you.