Download the PHP package trendyminds/algolia without Composer
On this page you can find all versions of the php package trendyminds/algolia. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download trendyminds/algolia
More information about trendyminds/algolia
Files in trendyminds/algolia
Package algolia
Short Description Easily pull search results from Algolia into your Craft CMS website
License MIT
Informations about the package algolia
Algolia
About
Algolia for Craft CMS allows you to easily pull search results from Algolia into your Twig templates or through REST API endpoints.
Template Usage
Browse an index
Additional search parameters can be provided in the params
object.
Search an index
Additional search parameters can be provided in the params
object.
Perform a multiple query search
Additional search parameters can be provided in each queries
object.
Parsing filters
When using filters in an Algolia search the engine requires a particular syntax. Rather than stringifying your filters in Twig this plugin offers a way to convert an object like...
to a valid Algolia filter string like...
Using JSON REST API controllers
In additional to Twig variables you can make a POST
request to one of the following controller endpoints. The same index, query and optional attributes are available when you make your POST
request.
NOTE: The following examples use Axios for making API requests
Browse an index
Additional search parameters can be provided in the params
object.
Search an index
Additional search parameters can be provided in the params
object.
Perform a multiple query search
Additional search parameters can be provided in each queries
object.
Requirements
This plugin requires Craft CMS 3.1.19+ and PHP 7.1+.
Installation
Install Algolia from the Craft CMS Plugin Store!
Attribution
This plugin is powered by the Algolia PHP API client. The client and icon/logo belong to Algolia.