phlexible / indexer-storage-elastica-bundle
phlexible indexer storage elastica bundle
Installs: 176
Dependents: 0
Suggesters: 1
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.6.0
- phlexible/elastica-bundle: ~1.2
- phlexible/indexer-bundle: ~1.1
Requires (Dev)
- phpunit/phpunit: ~5.6
README
The PhlexibleIndexerStorageElasticaBundle adds support for elasticsearch indexes in phlexible.
Installation
- Download PhlexibleIndexerStorageElasticaBundle using composer
- Enable the Bundle
- Clear the symfony cache
Step 1: Download PhlexibleIndexerStorageElasticaBundle using composer
Add PhlexibleIndexerBundle by running the command:
$ php composer.phar require phlexible/indexer-storage-elastica-bundle "~1.0.0"
Composer will install the bundle to your project's vendor/phlexible
directory.
Step 2: Enable the bundle
Enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Phlexible\Bundle\IndexerStorageElasticaBundle\PhlexibleIndexerStorageElasticaBundle(), ); }
Step 3: Clear the symfony cache
If you access your phlexible application with environment prod, clear the cache:
$ php app/console cache:clear --env=prod