PHPSocialNetwork / dynamodb-extension

Dynamodb extension for Phpfastcache v10 and greater

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contributing PHP Tests

Merge requests are welcome but will require the tests plus the quality tools to pass:

(Commands must be run from the repository root)

PHPCS, PHPMD, PHPSTAN (Level 6), unit tests:

composer run-script quality
composer run-script tests

# In case you want to fix the code style automatically: 
composer run-script phpcbf

Support & Security

Support for this extension must be posted to the main Phpfastcache repository.

Composer installation:

composer install phpfastcache/dynamodb-extension

⚠️ This extension requires:

1️ The composer aws/aws-sdk-php library 3.20 at least.

Events

This driver is currently emitting customs events.

  • 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

About

Dynamodb extension for Phpfastcache v10 and greater

License:MIT License


Languages

Language:PHP 97.8%Language:Batchfile 1.2%Language:Shell 1.0%