pieceofcake2 / async-aws
AsyncAws integration for CakePHP 2: DynamoDB session handler and cache, Amazon SES email transport, S3 helper
Package info
github.com/pieceofcake2/async-aws
Type:cakephp-plugin
pkg:composer/pieceofcake2/async-aws
Requires
- php: ^8.1
- async-aws/core: ^1.27
- composer/installers: ^1.0 || ^2.0
- pieceofcake2/cakephp: ^2.12
Requires (Dev)
- async-aws/dynamo-db: ^3.8
- async-aws/s3: ^2.0 || ^3.0
- async-aws/ses: ^1.13
- async-aws/simple-s3: ^2.1 || ^3.0
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^9.6
- pieceofcake2/app: ^2.2
- pieceofcake2/phpcs-cakephp2: ^1.1
- pieceofcake2/phpstan-cakephp2: ^1.0
Suggests
- async-aws/dynamo-db: Required for the DynamoDB session handler and cache engine
- async-aws/s3: Required for the S3 client of the AsyncAws component
- async-aws/ses: Required for the Amazon SES email transport
- async-aws/simple-s3: Required for S3Storage and the SimpleS3 client (installs async-aws/s3)
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-16 09:33:09 UTC
README
The AsyncAws plugin integrates AsyncAws with CakePHP 2 applications
running on pieceofcake2/cakephp: an AsyncAws
component that creates AsyncAws clients, a DynamoDB session handler, a DynamoDB cache engine,
an Amazon SES email transport, an S3 stream wrapper (s3:// paths with PHP's file functions)
and a small S3 storage helper.
It is the AsyncAws counterpart of pieceofcake2/aws, which uses the full AWS SDK for PHP. AsyncAws has one package per service and you install only those you use, which keeps deployments small, for example on AWS Lambda with Bref.
Documentation
- Website: https://pieceofcake2.github.io/async-aws/ (日本語: https://pieceofcake2.github.io/async-aws/ja/)
- Markdown: docs/README.md and the pages it links (日本語: docs/ja/README.md) (for AI tools and offline reading)
The Markdown documentation is also included in the Composer package, in the plugin's directory: plugins/AsyncAws/docs/README.md (the location depends on your installer-paths). Install the package with --dev if you only need it for development.
Requirements
- PHP 8.1+
- pieceofcake2/cakephp 2.12+
Installation
composer require pieceofcake2/async-aws
The plugin requires only async-aws/core. Install the AsyncAws package of each feature you use:
| Feature | Package |
|---|---|
| DynamoDB session handler, DynamoDB cache engine | async-aws/dynamo-db |
| Amazon SES email transport | async-aws/ses |
| S3 stream wrapper, S3 storage helper | async-aws/simple-s3 |
For example, for sessions in DynamoDB only:
composer require pieceofcake2/async-aws async-aws/dynamo-db
Then load the plugin with CakePlugin::load('AsyncAws').
Contributing
See the contribution guidelines.
Origin
This package was created by pieceofcake2, which also maintains it. It is not a fork of another project and is not based on one.
License
Licensed under the MIT License. See LICENSE.