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: 2022-05-06 06:39:22 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