phpfastcache / solr-extension
Phpfastcache Solr extension
Fund package maintenance!
Patreon
Installs: 6
Dependents: 0
Suggesters: 2
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Type:phpfastcache-extension
Requires
- php: >=8.0
- phpfastcache/phpfastcache: ^9.2
- solarium/solarium: ~6.1
Requires (Dev)
- jetbrains/phpstorm-stubs: dev-master
- phpfastcache/phpfastcache-devtools: ^9.2
- phpmd/phpmd: @stable
- phpstan/phpstan: ^1.5
- squizlabs/php_codesniffer: @stable
This package is auto-updated.
Last update: 2024-11-09 22:12:57 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/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