PHPackages                             sgrodzicki/algoliasearch-api-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. sgrodzicki/algoliasearch-api-client

ActiveLibrary[API Development](/categories/api)

sgrodzicki/algoliasearch-api-client
===================================

Algolia Search API Client for PHP

1.0.0(12y ago)03MIT

Since Aug 15Pushed 12y ago1 watchersCompare

[ Source](https://github.com/sgrodzicki/algoliasearch-client-php)[ Packagist](https://packagist.org/packages/sgrodzicki/algoliasearch-api-client)[ Docs](https://github.com/sgrodzicki/algoliasearch-client-php)[ RSS](/packages/sgrodzicki-algoliasearch-api-client/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Algolia Search API Client for PHP
=================================

[](#algolia-search-api-client-for-php)

[![Build Status](https://camo.githubusercontent.com/a9b7644d64aeeedb1403e2775695ee2b0f12ec4471194486c14edc7675226b4c/68747470733a2f2f7472617669732d63692e6f72672f7367726f647a69636b692f616c676f6c69617365617263682d636c69656e742d7068702e706e67)](https://travis-ci.org/sgrodzicki/algoliasearch-client-php)

This PHP client let you easily use the Algolia Search API from your backend.

Installation
------------

[](#installation)

The Algolia Search API Client is available [on Packagist](https://packagist.org/packages/sgrodzicki/algoliasearch-api-client) and as such installable via [Composer](http://getcomposer.org).

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](https://github.com/symfony/ClassLoader)) to load the library's classes.

### Composer example

[](#composer-example)

Add "sgrodzicki/algoliasearch-api-client" in your composer.json:

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

Download the library:

```
$ php composer.phar update sgrodzicki/algoliasearch-api-client
```

After installing, you need to require Composer's autoloader somewhere in your code:

```
require_once 'vendor/autoload.php';
```

Usage
-----

[](#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](https://github.com/sgrodzicki/algoliasearch-client-php/blob/master/lib/Algolia/SearchApiClient/Resources/config/client.json) but basically they should be the same as the [api endpoints listed in the docs](http://docs.algoliav1.apiary.io).

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4703d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1870a906f7e873d023a0379a3664da1073d97a89d36e6f1b4cbe6a6fd49aada6?d=identicon)[sgrodzicki](/maintainers/sgrodzicki)

---

Top Contributors

[![sgrodzicki](https://avatars.githubusercontent.com/u/712836?v=4)](https://github.com/sgrodzicki "sgrodzicki (6 commits)")

---

Tags

apisearchalgolia

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sgrodzicki-algoliasearch-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/sgrodzicki-algoliasearch-api-client/health.svg)](https://phpackages.com/packages/sgrodzicki-algoliasearch-api-client)
```

###  Alternatives

[algolia/algoliasearch-client-php

API powering the features of Algolia.

69734.4M145](/packages/algolia-algoliasearch-client-php)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

75115.4M188](/packages/meilisearch-meilisearch-php)[gigablah/sphinxphp

Sphinx Search PHP 5.3+ API with PSR compliance

821.4M16](/packages/gigablah-sphinxphp)[gigablah/fsphinxphp

Facet extension for Sphinx Search

5363.6k](/packages/gigablah-fsphinxphp)[hmerritt/imdb-api

IMDB API that can fetch film data and search results

6911.4k](/packages/hmerritt-imdb-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
