2017 © Pedro Peláez
 

symfony-bundle algolia-bundle

Integrates Algolia into Symfony

image

goldenline/algolia-bundle

Integrates Algolia into Symfony

  • Monday, January 18, 2016
  • by gfilipiak
  • Repository
  • 18 Watchers
  • 2 Stars
  • 55,504 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 2 % Grown

The README.md

AlgoliaBundle

Dependency Status, (*1)

Integrates Algolia into Symfony, (*2)

Installation

The best way to install this bundle is by using Composer. Simply run:, (*3)

``` bash $ php composer.phar require goldenline/algolia-bundle 1.0.0, (*4)


Then, enable the bundle: ``` php <?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Goldenline\AlgoliaBundle\GoldenlineAlgoliaBundle(), ); }

Finally add your configuration:, (*5)

# app/config/config.yml

goldenline_algolia:
    client:
        application_id: <your_application_id>
        application_key: <your_application_key>
    indices:
        foo:
            name: prefix_foo
        bar:
            name: bar

Currently we don`t support XML configuration., (*6)

Usage

Get your index from container i.e.:, (*7)

  $this->getContainer()->get('goldenline_algolia.index.foo');

and use it according to https://github.com/algolia/algoliasearch-client-php#search documentation., (*8)

You can also use client service located in container: goldenline_algolia.client according to https://github.com/algolia/algoliasearch-client-php, (*9)

License

This bundle is released under the MIT license. See the complete license in the bundle:, (*10)

Resources/meta/LICENSE

The Versions

18/01 2016

dev-master

9999999-dev

Integrates Algolia into Symfony

  Sources   Download

MIT

The Requires

 

The Development Requires

algolia

18/01 2016
13/11 2014