petrjirasek/algolia-search

Implementation of algolia/algoliasearch-client-php to Nette

dev-master 2016-06-06 20:15 UTC

This package is not auto-updated.

Last update: 2024-10-18 18:43:50 UTC


README

For the official version head to algolia/algoliasearch-nette.

AlgoliaSearch

Implementation of algolia/algoliasearch-client-php to Nette.

Install

composer require petrjirasek/algolia-search

Register extensions in config.neon:

extensions:
    algoliaSearch: petrjirasek\AlgoliaSearch\DI\AlgoliaSearchExtension

Configuration

config.neon with default values

algoliaSearch:
    applicationId: abc123 # application id
    apiKey: abc123 # api key
    hosts: ... # array of hosts
    options: [cainfo : ..., curloptions : [...]] # array of options