2017 © Pedro Peláez
 

library algoliasearch-api-client

Algolia Search API Client for PHP

image

sgrodzicki/algoliasearch-api-client

Algolia Search API Client for PHP

  • Thursday, August 15, 2013
  • by sgrodzicki
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Algolia Search API Client for PHP

Build Status, (*1)

This PHP client let you easily use the Algolia Search API from your backend., (*2)

Installation

The Algolia Search API Client is available on Packagist and as such installable via Composer., (*3)

If you do not use Composer, you can grab the code from GitHub, and use any PSR-0 compatible autoloader (e.g. the Symfony2 ClassLoader component) to load the library's classes., (*4)

Composer example

Add "sgrodzicki/algoliasearch-api-client" in your composer.json:, (*5)

{
    "require": {
        "sgrodzicki/algoliasearch-api-client": "1.0.*"
    }
}

Download the library:, (*6)

``` bash $ php composer.phar update sgrodzicki/algoliasearch-api-client, (*7)


After installing, you need to require Composer's autoloader somewhere in your code: ```php require_once 'vendor/autoload.php';

Usage

use Algolia\SearchApiClient\Client\AlgoliaSearchClient;

$client  = AlgoliaSearchClient::factory(array(
    'application_id' => 'your_application_id',
    'api_key'        => 'your_api_key',
));
$indexes = $client->listIndexes(); // returns an array of your indexes

You can find a list of the client's available commands in the bundle's client.json but basically they should be the same as the api endpoints listed in the docs., (*8)

The Versions

15/08 2013

dev-master

9999999-dev https://github.com/sgrodzicki/algoliasearch-client-php

Algolia Search API Client for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

api search algolia

15/08 2013

1.0.0

1.0.0.0 https://github.com/sgrodzicki/algoliasearch-client-php

Algolia Search API Client for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

api search algolia