Download the PHP package sylius/search-bundle without Composer
On this page you can find all versions of the php package sylius/search-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package search-bundle
SyliusSearchBundle
Search system for Symfony2 applications.
It supports search functionality for mysql and elastic search.
Usage:
Place the following snippets on a twig view and you are ready to go.
If you want to use the search pragmatically there are currently 2 query types, string query and taxon query.
Taxon
Basic configuration guidelines:
Form
The actual form you want to use for performing a search. As long as the naming of the elements is the same you can define a new twig file with your own design.
Request method
The default value for both search and filter forms is GET but you can use post by adding the following snippet on the configuration
Engine
Possible values: orm, elasticsearch
If orm is selected the search uses mysql as engine, if elasticsearch is selected if uses the elasticsearch search engine, which must be configured through the fos_elastica bundle. For documentation on fos_elastica please check the fos_elastica github page.
Query logger
By default query logger is disabled.
If you wish to using you need to add the following configuration parameters. Query logger currently supports orm for smaller websites and elasticsearch for one with higher transactions. In the future we need to introduce queue support.
Indexes
if elasticsearch is selected here is a sample configuration
Filters
Indexing data
After configuring the indexer properly you execute the following command to populate the appropriate engine:
Sylius
Sylius - Modern ecommerce for Symfony2. Visit Sylius.org.
phpspec examples
behat examples for search bundle
Documentation
Documentation is available on docs.sylius.org.
Contributing
All informations about contributing to Sylius can be found on this page.
Mailing lists
Users
Questions? Feel free to ask on users mailing list.
Developers
To contribute and develop this bundle, use the developers mailing list.
Sylius twitter account
If you want to keep up with updates, follow the official Sylius account on twitter.
Bug tracking
This bundle uses GitHub issues. If you have found bug, please create an issue.
Versioning
Releases will be numbered with the format major.minor.patch
.
And constructed with the following guidelines.
- Breaking backwards compatibility bumps the major.
- New additions without breaking backwards compatibility bumps the minor.
- Bug fixes and misc changes bump the patch.
For more information on SemVer, please visit semver.org website. This versioning method is same for all Sylius bundles and applications.
MIT License
License can be found here.
Authors
The bundle was originally created by Argyrios Gounaris. See the list of contributors.
All versions of search-bundle with dependencies
doctrine/orm Version ^2.4.8,<2.5
friendsofsymfony/elastica-bundle Version ~3.0.2
sylius/channel Version ^0.19
sylius/product-bundle Version ^0.19
sylius/resource-bundle Version ^0.19
symfony/framework-bundle Version ^2.8
symfony/property-access Version ^2.8
twig/twig Version ~1.11