PHPackages                             sajari/sajari-sdk-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. [HTTP &amp; Networking](/categories/http)
4. /
5. sajari/sajari-sdk-php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

sajari/sajari-sdk-php
=====================

Search.io offers a search and discovery service with Neuralsearch®, the world's first instant AI search technology. Businesses of all sizes use Search.io to build site search and discovery solutions that maximize e-commerce revenue, optimize on-site customer experience, and scale their online presence.

5.1.0(4y ago)837.3k1[2 issues](https://github.com/sajari/sajari-sdk-php/issues)MITPHPPHP &gt;=7.2

Since Jul 17Pushed 3y ago6 watchersCompare

[ Source](https://github.com/sajari/sajari-sdk-php)[ Packagist](https://packagist.org/packages/sajari/sajari-sdk-php)[ Docs](https://www.sajari.com)[ RSS](/packages/sajari-sajari-sdk-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (26)Used By (0)

Search.io SDK for PHP
=====================

[](#searchio-sdk-for-php)

[![Build status](https://github.com/sajari/sdk-php/workflows/Build/badge.svg?branch=master)](https://github.com/sajari/sdk-php/actions)

The official [Search.io](https://www.sajari.com) PHP client library.

Search.io offers a search and discovery service with Neuralsearch®, the world's first instant AI search technology. Businesses of all sizes use Search.io to build site search and discovery solutions that maximize e-commerce revenue, optimize on-site customer experience, and scale their online presence.

Table of contents
-----------------

[](#table-of-contents)

- [Installation &amp; usage](#installation--usage)
    - [Requirements](#requirements)
    - [Composer](#composer)
    - [Manual installation](#manual-installation)
- [Getting started](#getting-started)
- [API endpoints](#api-endpoints)
- [Models](#models)
- [Authorization](#authorization)
    - [BasicAuth](#basicauth)
- [Tests](#tests)
- [Author](#author)
- [About this package](#about-this-package)

Installation &amp; usage
------------------------

[](#installation--usage)

### Requirements

[](#requirements)

PHP 7.2 and later.

### Composer

[](#composer)

To install the bindings via [Composer](https://getcomposer.org/), add the following to `composer.json`:

```
{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/sajari/sdk-php.git"
    }
  ],
  "require": {
    "sajari/sdk-php": "*@dev"
  }
}
```

Then run `composer install`

### Manual installation

[](#manual-installation)

Download the files and include `autoload.php`:

```
