From 6e7ff2efc34a0e88abab7ae7243b64f238195d8c Mon Sep 17 00:00:00 2001 From: Georges Date: Sun, 7 Jan 2024 12:22:39 +0100 Subject: [PATCH] Updated README --- .github/workflows/php.yml | 1 - README.md | 19 +++++++++++++++---- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 2706135..a355225 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -18,7 +18,6 @@ jobs: matrix: operating-system: [ubuntu-latest] php-versions: ['8.0', '8.1', '8.2', '8.3'] - mongodb-version: ['6.0'] name: PHP ${{ matrix.php-versions }} quality/tests on ${{ matrix.operating-system }} env: diff --git a/README.md b/README.md index ef93b54..84b7f7d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -## Contributing [![PHP Tests](https://github.com/PHPSocialNetwork/mongodb-extension/actions/workflows/php.yml/badge.svg)](https://github.com/PHPSocialNetwork/mongodb-extension/actions/workflows/php.yml) +## Contributing [![PHP Tests](https://github.com/PHPSocialNetwork/dynamodb-extension/actions/workflows/php.yml/badge.svg)](https://github.com/PHPSocialNetwork/dynamodb-extension/actions/workflows/php.yml) Merge requests are welcome but will require the tests plus the quality tools to pass: _(Commands must be run from the repository root)_ @@ -19,11 +19,22 @@ Support for this extension must be posted to the main [Phpfastcache repository]( ## Composer installation: ```php -composer install phpfastcache/mongodb-extension +composer install phpfastcache/dynamodb-extension ``` #### ⚠️ This extension requires: -1️ The composer `mongodb/mongodb` library `1.10` at least. +1️ The composer `aws/aws-sdk-php` library `3.0` at least. ## Events -This driver is currently not emitting [customs events](https://github.com/PHPSocialNetwork/phpfastcache/blob/master/docs/EVENTS.md). +This driver is currently emitting [customs events](https://github.com/PHPSocialNetwork/phpfastcache/blob/master/docs/EVENTS.md). + +- onDynamodbCreateTable(*Callable* **$callback**) + - **Callback arguments** + - *ExtendedCacheItemPoolInterface* **$itemPool** + - *EventReferenceParameter($params)* **$params** _via EventReferenceParameter object_ **(type modification forbidden)** + - **Scope** + - Dynamodb Driver + - **Description** + - Allow you to alter the parameters built used to create the table + - **Risky Circular Methods**: None +