PHPackages                             searchili/searchili-client-php - 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. searchili/searchili-client-php

ActiveLibrary[API Development](/categories/api)

searchili/searchili-client-php
==============================

Client for SearChili search services

1.1(5y ago)28MITPHPPHP &gt;=5.6

Since Dec 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ChiliSearch/chilisearch-client-php)[ Packagist](https://packagist.org/packages/searchili/searchili-client-php)[ RSS](/packages/searchili-searchili-client-php/feed)WikiDiscussions main Synced 1w ago

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

searchili-client-php
====================

[](#searchili-client-php)

PHP client for SearChili API

[![Build Status](https://camo.githubusercontent.com/cbe6a9e9e6e4109adf24464210d6690150eb9c48535210e7e9020ea7b0d1b21d/68747470733a2f2f7472617669732d63692e636f6d2f536561724368696c692f736561726368696c692d636c69656e742d7068702e7376673f6272616e63683d6d61696e)](https://travis-ci.com/github/SearChili/searchili-client-php)[![Packagist](https://camo.githubusercontent.com/c8f4e28e37fffd44142e0b0847f0fffefecf638b24f1f76750b05f01b7841873/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f536561724368696c692f736561726368696c692d636c69656e742d7068702e7376673f7374796c653d666c61742d737175617265)](https://github.com/searchili/searchili-client-php)[![Latest Stable Version](https://camo.githubusercontent.com/2531a1c81852c581c8904150593b49291e3a89f89fb91372f285998f482604be/68747470733a2f2f706f7365722e707567782e6f72672f736561726368696c692f736561726368696c692d636c69656e742d7068702f76)](https://packagist.org/packages/searchili/searchili-client-php)[![License](https://camo.githubusercontent.com/b017d7c534fc08aa137044de7c8b255de9f58bb86416fa514499d0f3ed3ff8f8/68747470733a2f2f706f7365722e707567782e6f72672f736561726368696c692f736561726368696c692d636c69656e742d7068702f6c6963656e7365)](https://packagist.org/packages/searchili/searchili-client-php)

> ### Requirements
>
> [](#requirements)

- PHP 5.6+
- Autoloader compatible with PSR-4
- PHP must be compiled with lib-curl

> ### Installation
>
> [](#installation)

To install the library just add it via [composer](https://getcomposer.org/download/)

```
composer require SearChili/searchili-client-php

```

Or in composer.json

```
{
    "SearChili/searchili-client-php": "^1.0"
}
```

> ### Tests
>
> [](#tests)

We can use the composer to run the tests:

```
composer test

```

> ### How to Use
>
> [](#how-to-use)

To use this library, you must first register on [SearChili](https://searchi.li). After the registration, an apiKey and apiSecret will be available to access the API.

The API methods that can be invoked:

- Site info
- Entity search
- Entity sayt
- Entity store
- Entity delete

The following is a small example of how this library can be used.

> #### Alice
>
> [](#alice)
>
> ##### Search
>
> [](#search)

```
