Download the PHP package atomicptr/symfony-indexed-search without Composer
On this page you can find all versions of the php package atomicptr/symfony-indexed-search. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download atomicptr/symfony-indexed-search
More information about atomicptr/symfony-indexed-search
Files in atomicptr/symfony-indexed-search
Package symfony-indexed-search
Short Description Indexed Search is a Symfony bundle that provides a straightforward database-powered search functionality for Doctrine entities. It makes implementing search across your application's data simple, flexible and easy to integrate.
License MIT
Informations about the package symfony-indexed-search
Symfony Indexed Search
Indexed Search is a Symfony bundle that provides a straightforward database-powered search functionality for Doctrine entities. It makes implementing search across your application's data simple, flexible and easy to integrate.
Requirements
- PHP 8.5+ (ext-intl required) and Symfony 8
- Doctrine
- SQLite, MySQL, MariaDB or PostgreSQL
Installation
Make sure it's installed in your config/bundles.php:
You might also need to create migrations for our index tables:
Usage
Mark what you want to search and what you want to filter by:
Build the index:
And search:
Every word has to match the start of a word somewhere in the text, so red sho finds "Red running shoes". Values of the
same filter are OR, different filters are AND
The index doesn't update itself, call SearchIndexer::index(), indexByIds() or remove() or rerun the command when
your entities change
Translations
If an entity should be found in multiple languages, return one document per language instead of using the attributes:
Search with filters: ['lang' => 'de'] and $hit->variant tells you which one matched
License
MIT
All versions of symfony-indexed-search with dependencies
ext-intl Version *
symfony/config Version ^8.0
symfony/dependency-injection Version ^8.0
symfony/http-kernel Version ^8.0
symfony/console Version ^8.0
doctrine/orm Version ^3.6.8
doctrine/dbal Version ^4.5
doctrine/doctrine-bundle Version ^3.0
psr/clock Version ^1.0
symfony/clock Version ^8.0