Awesome
Contributing
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/solr-extension
⚠️ This extension requires:
1️ The composer solarium/solarium
library 6.1
at least.
Events
This driver is emitting customs events:
- onSolrBuildEndpoint(Callable $callback)
- Callback arguments
- ExtendedCacheItemPoolInterface $itemPool
- EventReferenceParameter($params) $endpoints via EventReferenceParameter object (type modification forbidden)
- Scope
- Solr Driver
- Description
- Allow you to alter the endpoints built used to connect to Solr server
- Risky Circular Methods: None
- Callback arguments