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.

1.1.0 2021-02-01 09:10 UTC

This package is auto-updated.

Last update: 2024-12-18 15:16:31 UTC


README

Build Status

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

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.