synergy / solarium-module
Zend Framework 3 integration with solarium solr search client
Installs: 3 816
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 2
Open Issues: 17
Type:zf3-module
Requires
- php: >=8.1
- doctrine/instantiator: *
- laminas/laminas-authentication: *
- laminas/laminas-component-installer: *
- laminas/laminas-config: *
- laminas/laminas-crypt: *
- laminas/laminas-db: *
- laminas/laminas-dependency-plugin: *
- laminas/laminas-di: *
- laminas/laminas-diactoros: *
- laminas/laminas-dom: *
- laminas/laminas-escaper: *
- laminas/laminas-eventmanager: *
- laminas/laminas-file: *
- laminas/laminas-filter: *
- laminas/laminas-form: *
- laminas/laminas-hydrator: *
- laminas/laminas-i18n: *
- laminas/laminas-i18n-resources: *
- laminas/laminas-inputfilter: *
- laminas/laminas-loader: *
- laminas/laminas-log: *
- laminas/laminas-mail: *
- laminas/laminas-math: *
- laminas/laminas-memory: *
- laminas/laminas-mime: *
- laminas/laminas-modulemanager: *
- laminas/laminas-mvc: *
- laminas/laminas-mvc-form: *
- laminas/laminas-mvc-i18n: *
- laminas/laminas-navigation: *
- laminas/laminas-paginator: *
- laminas/laminas-psr7bridge: *
- laminas/laminas-serializer: *
- laminas/laminas-servicemanager: *
- laminas/laminas-session: *
- laminas/laminas-soap: *
- laminas/laminas-stdlib: *
- laminas/laminas-tag: *
- laminas/laminas-text: *
- laminas/laminas-uri: *
- laminas/laminas-validator: *
- laminas/laminas-view: *
- solarium/solarium: ~3
Requires (Dev)
- dev-master
- v6.1.1
- v6.1.0
- v6.0.0
- v5.1.0
- v5.0.0
- v4.1.0
- v4.0.0
- v3.1.0
- v3.0.1
- v3.0.0
- v2.1.0
- v2.0.2
- v2.0.1
- v2.0.0
- v1.0.2
- v1.0.1
- v1.0.0
- dev-dependabot/composer/laminas/laminas-eventmanager-3.10.0
- dev-dependabot/composer/laminas/laminas-hydrator-4.12.0
- dev-dependabot/composer/laminas/laminas-navigation-2.18.1
- dev-dependabot/composer/solarium/solarium-6.2.8
- dev-dependabot/composer/laminas/laminas-paginator-2.17.0
- dev-dependabot/composer/laminas/laminas-stdlib-3.16.1
- dev-dependabot/composer/laminas/laminas-i18n-2.21.0
- dev-dependabot/composer/laminas/laminas-mvc-i18n-1.7.0
- dev-dependabot/composer/laminas/laminas-session-2.16.0
- dev-dependabot/composer/laminas/laminas-servicemanager-3.20.0
- dev-dependabot/composer/solarium/solarium-6.1.1
- dev-dependabot/composer/doctrine/instantiator-1.4.0
- dev-dependabot/composer/laminas/laminas-dependency-plugin-2.1.0
- dev-dependabot/composer/laminas/laminas-mvc-3.2.0
- dev-dependabot/add-v2-config-file
- dev-dependabot/composer/laminas/laminas-component-installer-2.4.0
This package is auto-updated.
Last update: 2024-11-12 13:51:42 UTC
README
SynergySolarium module
About
The SynergySolarium module provides ZF3 integration with Solarium solr client.
It also integrates with Zend Developer Tools.
Inspired by Ewgo/SolariumModule ZF2 module
Installation
$ php composer.phar require synergy/solarium-module
Add "SynergySolarium" to the list of loaded modules.
Basic configuration
array( 'solarium' => array( 'endpoint' => array( 'default' => array( 'host' => 'localhost', 'port' => 8983, 'path' => '/solr', 'core' => 'default', 'timeout' => 5 ) //... ) ) )
Usage
$client = $serviceLocator->get('Solarium\Client'); // Or the 'solarium' alias $query = $client->createSelect(); $resultset = $client->execute($query);
For more information see the Solarium documentation.
Paginator adapter
This module also provides an adapter for Laminas\Paginator.
$paginator = new \Laminas\Paginator\Paginator( new \SynergySolarium\Paginator\Adapter\SolariumPaginator($client, $query) ); $paginator->setCurrentPageNumber($page); $paginator->setItemCountPerPage($countPerPage);