Download the PHP package setono/sylius-algolia-plugin without Composer
On this page you can find all versions of the php package setono/sylius-algolia-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download setono/sylius-algolia-plugin
More information about setono/sylius-algolia-plugin
Files in setono/sylius-algolia-plugin
Package sylius-algolia-plugin
Short Description Algolia integration for your Sylius store
License MIT
Informations about the package sylius-algolia-plugin
Algolia Plugin for Sylius
Use Algolia search and recommendations in your Sylius store.
Installation
Import configuration
In your .env.local
add your parameters:
Import routing
or if your app doesn't use locales:
Move plugin class in your bundles.php
Move the plugin at the top of your bundles list, else you might have an exception like You have requested a non-existent parameter "setono_sylius_algolia.cache.adapter"
Implement the IndexableInterface
in your configured indexable resources
You have to implement the Setono\SyliusAlgoliaPlugin\Model\IndexableInterface
in the indexable resources you
configured in setono_sylius_algolia.indexable_resources
. In a typical Sylius application for the Product
entity
it could look like this:
Implement the IndexableResourceRepositoryInterface
in applicable repositories
The configured indexable resources' associated repositories has to implement the Setono\SyliusAlgoliaPlugin\Repository\IndexableResourceRepositoryInterface
.
If you're configuring the sylius.product
there is a trait available you can use: Setono\SyliusAlgoliaPlugin\Repository\ProductRepositoryTrait
.
Usage
TODO
All versions of sylius-algolia-plugin with dependencies
algolia/algoliasearch-client-php Version ^3.2
doctrine/event-manager Version ^1.1
doctrine/orm Version ^2.7
doctrine/persistence Version ^2.2
fig/link-util Version ^1.1
liip/imagine-bundle Version ^2.6
psr/cache Version ^1.0
psr/event-dispatcher Version ^1.0
psr/link Version ^1.0
psr/log Version ^1.0 || ^2.0
setono/bot-detection-bundle Version ^1.6
setono/client-id-bundle Version ^0.2
setono/client-id-contracts Version ^0.2
setono/doctrine-object-manager-trait Version ^1.1
setono/prerender-bundle Version ^0.1
sylius/resource-bundle Version ^1.6
symfony/cache-contracts Version ^2.0
symfony/config Version ^4.4 || ^5.0
symfony/console Version ^4.4 || ^5.0
symfony/dependency-injection Version ^4.4 || ^5.0
symfony/event-dispatcher Version ^4.4 || ^5.0
symfony/http-foundation Version ^4.4 || ^5.0.7
symfony/http-kernel Version ^4.4 || ^5.1.5
symfony/messenger Version ^4.4 || ^5.0
symfony/routing Version ^4.4 || ^5.0
symfony/serializer Version ^4.4 || ^5.0
symfony/string Version ^5.0
symfony/validator Version ^4.4 || ^5.0
twig/twig Version ^2.14
webmozart/assert Version ^1.10