phpfastcache/couchdb-extension

Phpfastcache Couchdb extension

Fund package maintenance!
Patreon

Installs: 4

Dependents: 0

Suggesters: 2

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Type:phpfastcache-extension

9.2.0 2024-01-07 05:11 UTC

This package is auto-updated.

Last update: 2024-12-09 22:10:51 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/couchdb-extension

⚠️ This extension requires:

1️ The composer doctrine/couchdb library dev-master#9eeb9e5 at least.
You MUST ensure that the dependency is at least at commit 9eeb9e5 due to a serious bug in doctrine/couchdb that causes infinite loop.

Events

This driver is emitting customs events:

  • onCouchdbCreateOptions(Callable $callback)
    • Callback arguments
      • ExtendedCacheItemPoolInterface $itemPool
      • EventReferenceParameter($options) $options via EventReferenceParameter object (type modification forbidden)
    • Scope
      • Couchdb Driver
    • Description
      • Allow you to alter the options built used to create the Couchdb client instance.
    • Risky Circular Methods: None