massive/search-bundle
Massive Search Bundle
Maintainers
Requires
- php: ^8.2
- jms/metadata: ^2.6
- symfony/config: ^5.4 || ^6.0 || ^7.0
- symfony/console: ^5.4 || ^6.0 || ^7.0
- symfony/dependency-injection: ^5.4 || ^6.0 || ^7.0
- symfony/event-dispatcher: ^5.4 || ^6.0 || ^7.0
- symfony/expression-language: ^5.4 || ^6.0 || ^7.0
- symfony/property-access: ^5.4.2 || ^6.0 || ^7.0
Requires (Dev)
- behat/behat: ^3.21.0
- doctrine/annotations: ^1.14
- doctrine/doctrine-bundle: ^1.10 || ^2.0
- doctrine/orm: ^2.5
- elasticsearch/elasticsearch: ^2.1 || ^5.0 || ^7.0
- handcraftedinthealps/zendsearch: ^2.0
- matthiasnoback/symfony-dependency-injection-test: ^4.0 || ^5.0 || 6.0
- phpspec/prophecy-phpunit: ^2.4
- symfony-cmf/testing: ^3.0 || ^4.0 || ^5.0
- symfony/filesystem: ^4.3.2 || ^5.0 || ^6.0 || ^7.0
- symfony/finder: ^5.4 || ^6.0 || ^7.0
- symfony/form: ^5.4 || ^6.0 || ^7.0
- symfony/framework-bundle: ^5.4 || ^6.0 || ^7.0
- symfony/http-kernel: ^5.4 || ^6.0 || ^7.0
- symfony/monolog-bridge: ^5.4 || ^6.0 || ^7.0
- symfony/monolog-bundle: ^3.1
- symfony/phpunit-bridge: ^6.4 || ^7.0
- symfony/security-bundle: ^5.4 || ^6.0 || ^7.0
- symfony/twig-bundle: ^5.4 || ^6.0 || ^7.0
- symfony/validator: ^5.4 || ^6.0 || ^7.0
- webmozart/assert: ^1.7
Suggests
- elasticsearch/elasticsearch: To use Elasticsearch
- handcraftedinthealps/zendsearch: To use the PHP based Zend Search library (based on Lucene)
- sensio/distribution-bundle: Required if the SearchScriptHandler is used
Provides
None
Conflicts
- doctrine/doctrine-cache-bundle: <1.3.1
- elasticsearch/elasticsearch: <2.0 || >=8.0
- guzzlehttp/ringphp: < 1.0.7
- symfony/security-guard: 5.4.0-BETA1
Replaces
None
MIT 3563d14ef40cd91e223f3e096103b1e6fd5eaee6
- Daniel Leech <daniel.leech.woop@massiveart.com>
This package is auto-updated.
Last update: 2026-06-12 10:51:03 UTC
README
👁 https://img.shields.io/github/workflow/status/massiveart/MassiveSearchBundle/Test%20application?label=test-workflowThe purpose of this bundle is to provide flexible site search functionality.
This means it provides a way to index objects (for example Doctrine entities) and then to search for them using a query string.
This bundle provides:
- Choice of search backends (ZendSearch, Elastic Search)
- Localization
- Doctrine ORM integration
- Lots of extension points
By default it is configured to use the Zend Lucene library, which must be
installed (see the suggests and require-dev sections in composer.json.
NOTE: This bundle is under developmenet and is not yet stable.
Installation
You can install the MassiveSearchBundle by adding it to composer.json:
composer require massive/search-bundle
And then include it in your AppKernel:
class AppKernel { public function registerBundles() { return array( // ... new \Massive\Bundle\SearchBundle\MassiveSearchBundle(), ); } }
You will also need to include a search library. The search libraries are
listed in the suggests section of composer.json, and exact package
versions can also be found in the require-dev section (as all the libraries are tested).
Documentation
See the official documentation.
