https://github.com/phpsocialnetwork/arangodb-extension
Arangodb extension for Phpfastcache v9.2 and greater
https://github.com/phpsocialnetwork/arangodb-extension
arangodb arangodb-client cache php phpfastcache
Last synced: 3 months ago
JSON representation
Arangodb extension for Phpfastcache v9.2 and greater
- Host: GitHub
- URL: https://github.com/phpsocialnetwork/arangodb-extension
- Owner: PHPSocialNetwork
- License: mit
- Created: 2024-01-07T01:44:12.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-09T20:09:16.000Z (over 1 year ago)
- Last Synced: 2025-02-14T07:48:49.533Z (3 months ago)
- Topics: arangodb, arangodb-client, cache, php, phpfastcache
- Language: PHP
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
## Contributing [](https://github.com/PHPSocialNetwork/arangodb-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)_
### PHPCS, PHPMD, PHPSTAN (Level 6), unit tests:```bash
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](https://github.com/PHPSocialNetwork/phpfastcache/issues).
## Composer installation:
```php
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](https://github.com/PHPSocialNetwork/phpfastcache/blob/master/docs/EVENTS.md):
- 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