phpfastcache/arangodb-extension

Phpfastcache Arangodb extension

Fund package maintenance!
Patreon

Installs: 6

Dependents: 0

Suggesters: 2

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Type:phpfastcache-extension

9.2.0 2024-01-07 03:50 UTC

This package is auto-updated.

Last update: 2024-11-09 21:57:49 UTC


README

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/arangodb-extension

⚠️ This extension requires:

1️ The composer triagens/arangodb library 3.8 at least.

Events

This driver is emitting customs events:

  • onArangodbConnection(Callable $callback)

    • Callback arguments
      • ExtendedCacheItemPoolInterface $itemPool
      • EventReferenceParameter($connectionOptions) $connectionOptions via EventReferenceParameter object (type modification forbidden)
    • Scope
      • Arangodb Driver
    • Description
      • Allow you to alter the parameters built used to connect to Arangodb server
    • Risky Circular Methods: None
  • onArangodbCollectionParams(Callable $callback)

    • Callback arguments
      • ExtendedCacheItemPoolInterface $itemPool
      • EventReferenceParameter($params) $params via EventReferenceParameter object (type modification forbidden)
    • Scope
      • Arangodb Driver
    • Description
      • Allow you to alter the parameters built used to create the collection
    • Risky Circular Methods: None