PHPackages                             abacaphiliac/aws-sdk-php-claim-check - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. abacaphiliac/aws-sdk-php-claim-check

ActiveLibrary[File &amp; Storage](/categories/file-storage)

abacaphiliac/aws-sdk-php-claim-check
====================================

Claim Check enterprise integration pattern, implemented via AWS PHP SDK.

0.1.1(10y ago)032MITPHP

Since Apr 1Pushed 10y ago1 watchersCompare

[ Source](https://github.com/abacaphiliac/aws-sdk-php-claim-check)[ Packagist](https://packagist.org/packages/abacaphiliac/aws-sdk-php-claim-check)[ RSS](/packages/abacaphiliac-aws-sdk-php-claim-check/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (10)Versions (5)Used By (0)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/7454ffb2a6e252f16699b88362aa6efc7a24190d30158c7feac267561dde0918/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f61626163617068696c6961632f6177732d73646b2d7068702d636c61696d2d636865636b2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/abacaphiliac/aws-sdk-php-claim-check/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/6190c82b085b841b890d94c5e5fc45ae980be7ffbbe4bf93f30442a58035facb/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f61626163617068696c6961632f6177732d73646b2d7068702d636c61696d2d636865636b2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/abacaphiliac/aws-sdk-php-claim-check/?branch=master)[![Build Status](https://camo.githubusercontent.com/f268308e2b92a08d25c173483af465c164fb207e6523a2e97cd1074f69eda63a/68747470733a2f2f7472617669732d63692e6f72672f61626163617068696c6961632f6177732d73646b2d7068702d636c61696d2d636865636b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/abacaphiliac/aws-sdk-php-claim-check)

abacaphiliac/aws-php-claim-check-sdk
====================================

[](#abacaphiliacaws-php-claim-check-sdk)

An implementation of the [Claim Check](http://www.enterpriseintegrationpatterns.com/patterns/messaging/StoreInLibrary.html)Enterprise Integration Pattern, utilizing Amazon Web Services. AWS recommends usage of the Claim Check pattern on the [SQS Compliance FAQ](https://aws.amazon.com/sqs/faqs/#Compliance).

[![StoreInLibrary](https://camo.githubusercontent.com/4a8d2e6908f90e6b05f7017fe366879b73fc1b0fbc843feb515db49b437dad13/687474703a2f2f7777772e656e7465727072697365696e746567726174696f6e7061747465726e732e636f6d2f696d672f53746f7265496e4c6962726172792e676966 "StoreInLibrary")](https://camo.githubusercontent.com/4a8d2e6908f90e6b05f7017fe366879b73fc1b0fbc843feb515db49b437dad13/687474703a2f2f7777772e656e7465727072697365696e746567726174696f6e7061747465726e732e636f6d2f696d672f53746f7265496e4c6962726172792e676966)

This library provides extended SNS and SQS clients to "Check Luggage", uses S3 as the "Data Store", and uses the extended SQS client as the "Data Enricher".

This package aims to be a compatible port of Amazon's [Extended Client Library](https://github.com/awslabs/amazon-sqs-java-extended-client-lib). Messages stored via this PHP package should be able to be received by the Java package.

AWS [Extended Client Library](https://github.com/awslabs/amazon-sqs-java-extended-client-lib) Compatibility
===========================================================================================================

[](#aws-extended-client-library-compatibility)

Similarities
------------

[](#similarities)

- Claim Check structure is identical, i.e. keys are `s3BucketName` and `s3Key`, meaning you can publish to SQS+S3 via this PHP lib and read via the AWS Extended Client Library java lib.

Differences
-----------

[](#differences)

- Messages published from SNS to SQS contain a nested Claim Check message structure, so the Java SDK is not be able to natively consume messages published to SNS (citation needed).
- Usage of the pattern is not configurable by message size, nor can the pattern be disabled in this lib. Use the wrapped clients if you do not want to use Claim Check.
- The AWS Extended Client Library will always delete the message from S3 when the message is deleted from SQS. This is not acceptable when messages are published to SNS and fanned-out to multiple subscribers (e.g. multiple SQS queues). This package allows you to disable deletion from S3 in the SQS extended client configuration.

Installation
============

[](#installation)

```
composer require abacaphiliac/aws-php-claim-check-sdk

```

Contributing
------------

[](#contributing)

```
composer install && vendor/bin/phing

```

This library attempts to comply with [PSR-1](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md), [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md), and [PSR-4](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md). If you notice compliance oversights, please send a patch via pull request.

Tasks
=====

[](#tasks)

- Add SQS check-in.
- Add SQS check-out.
- Add SNS check-in.
- Use WireMock to stub API responses and add feature tests to CI.
- Add async SQS check-in.
- Add async SQS check-out.
- Add async SNS check-in.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

3680d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/29004cd917fdd7e4a8cc4ddba16f0bbcd90829513c57fc96e3b4f3fcb53f7ead?d=identicon)[abacaphiliac](/maintainers/abacaphiliac)

---

Top Contributors

[![abacaphiliac](https://avatars.githubusercontent.com/u/1656273?v=4)](https://github.com/abacaphiliac "abacaphiliac (6 commits)")

---

Tags

phps3sdkawssqsSNSclaim checkenterprise integration pattern

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/abacaphiliac-aws-sdk-php-claim-check/health.svg)

```
[![Health](https://phpackages.com/badges/abacaphiliac-aws-sdk-php-claim-check/health.svg)](https://phpackages.com/packages/abacaphiliac-aws-sdk-php-claim-check)
```

###  Alternatives

[aws/aws-sdk-php-laravel

A simple Laravel 9/10/11/12/13 service provider for including the AWS SDK for PHP.

1.7k35.6M75](/packages/aws-aws-sdk-php-laravel)[aws/aws-sdk-php-zf2

Zend Framework 2 Module that allows easy integration the AWS SDK for PHP

104997.5k5](/packages/aws-aws-sdk-php-zf2)[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.

19268.7k](/packages/e0ipso-amazon-sqs-php-extended-client-lib)[jmathai/s3-bucket-stream-zip-php

PHP library to efficiently stream contents from an AWS S3 bucket or folder as a zip file

56114.4k](/packages/jmathai-s3-bucket-stream-zip-php)[matecat/simple-s3

Simple S3 Client

1415.0k](/packages/matecat-simple-s3)[fedemotta/yii2-aws-sdk

This extension provides the AWS SDK integration for the Yii2 framework

15430.4k2](/packages/fedemotta-yii2-aws-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
