phlexible / indexer-bundle
phlexible indexer bundle
Installs: 740
Dependents: 5
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.6.0
- doctrine/collections: ^1.3
- symfony/event-dispatcher: ^2.8
Requires (Dev)
- phlexible/queue-bundle: ~1.3
- phpunit/phpunit: ^5.7
Suggests
- phlexible/indexer-storage-elastica-bundle: Elastica indexer storage
README
The PhlexibleIndexerBundle adds support for indexing content in phlexible.
Installation
- Download PhlexibleIndexerBundle using composer
- Enable the Bundle
- Import PhlexibleIndexerBundle routing
- Clear the symfony cache
Step 1: Download PhlexibleIndexerBundle using composer
Add PhlexibleIndexerBundle by running the command:
$ php composer.phar require phlexible/indexer-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\IndexerBundle\PhlexibleIndexerBundle(), ); }
Step 3: Import PhlexibleIndexerBundle routing
Import the PhlexibleIndexerBundle routing.
# app/config/routing.yml phlexible_indexer: resource: "@PhlexibleIndexerBundle/Controller/" type: annotation
Step 4: Clear the symfony cache
If you access your phlexible application with environment prod, clear the cache:
$ php app/console cache:clear --env=prod