PHPackages                             tineye/tineye-api - 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. [Search &amp; Filtering](/categories/search)
4. /
5. tineye/tineye-api

ActiveLibrary[Search &amp; Filtering](/categories/search)

tineye/tineye-api
=================

Library to reverse image search using the TinEye API

v2.0.1(3y ago)1063.9k↓42.4%5[1 PRs](https://github.com/TinEye/tineye-api-php/pulls)MITPHPPHP ^7.2 || ^8.0CI failing

Since May 23Pushed 3y ago5 watchersCompare

[ Source](https://github.com/TinEye/tineye-api-php)[ Packagist](https://packagist.org/packages/tineye/tineye-api)[ Docs](https://tineye.com)[ RSS](/packages/tineye-tineye-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (3)Versions (7)Used By (0)

TinEye API PHP Library
======================

[](#tineye-api-php-library)

**tineye-api** is a PHP library for the [TinEye API](https://api.tineye.com). The TinEye API is a paid reverse image search solution for professional, commercial or high-volume users of TinEye.

Contents
========

[](#contents)

- [ Installation ](#installation)
- [ Migrating from previous versions ](#migrating-from-previous-versions)
- [ Getting started ](#getting-started)
- [ Methods ](#methods)
    - [ Common parameters ](#common-parameters)
    - [ Search using an image URL ](#search-using-an-image-url)
    - [ Search using image data ](#search-using-image-data)
    - [ Get remaining searches ](#get-remaining-searches)
    - [ Get number of indexed images ](#get-number-of-indexed-images)
    - [ Get the HTTP client ](#get-the-http-client)
- [ Support ](#support)
- [ Testing ](#testing)
- [ License ](#license)

Installation
============

[](#installation)

Install via [Composer](https://getcomposer.org/). If composer is installed, run the following from your shell:

```
$ composer require tineye/tineye-api
```

Migrating from previous versions
================================

[](#migrating-from-previous-versions)

If you were using any version of the TinEye API library before `2.0.0`, you will need to make minor changes to your code.

The API object is now instantiated using a single key, `api_key`. The value of this key is the same as your previous `private_key`. The public key is no longer used.

#### New ✅

[](#new-)

```
