phpfastcache/solr-extension

Phpfastcache Solr extension

Fund package maintenance!
Patreon

Installs: 5

Dependents: 0

Suggesters: 2

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Type:phpfastcache-extension

9.2.0 2024-01-07 05:48 UTC

This package is auto-updated.

Last update: 2024-10-09 22:04:36 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