2017 © Pedro PelĂĄez
 

library clarifai

clarifAI PHP Library

image

phpfanatic/clarifai

clarifAI PHP Library

  • Thursday, November 9, 2017
  • by PHPfanatic
  • Repository
  • 3 Watchers
  • 8 Stars
  • 4,925 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 1 Open issues
  • 10 Versions
  • 9 % Grown

The README.md

Clarifai PHP Library

Build Status GitHub version, (*1)

Clarifai API Library, PHP/Composer implementation of the clarifai api. (clarifai). PHPfanatic's PHP library brings you the power of clarifai's image recognition API wrapped in an easy to use PHP library that you can add to your own project easily with composer., (*2)

Build smarter apps faster with Clarifai’s powerful visual recognition technology., (*3)

Getting Started

Add the package to your composer implementation., (*4)

composer require phpfanatic/clarifai

or, (*5)

Add the package manually by downloading the most recent stable version release from Github and include the src/ directory within your own project., (*6)

Requirements

  • PHP - 5.6, 7.0 - May work with ealier version, untested at this time.
  • cURL - *
  • Clarifai API Key - clarifai
  • PHPUnit - to run tests (optional).

Example Usage

use PhpFanatic\clarifAI\ImageClient;

$client = new ImageClient([API_KEY]);

$client->AddImage('http://phpfanatic.com/projects/clarifai/dog.jpg');
$result = $client->Predict();

Documentation

PHPfanatic - ClarifAI documentation, (*9)

Change History

  • 2.0.1 - Patched clientversion variable.
  • 2.0.0 - Changed Clarifai authentication to use API Key method.
  • 1.2.3 - Added User-Agent Library header to outbound curl calls per Clarifai request.
  • 1.2.2 - Fixed malformed url bug when you paginate a get request. (credit: @mhdere)
  • 1.2.1 - Fixed urlencode bug (credit: keithslater), added additional Clarifai models.
  • 1.2.0 - Added model delete support, updated inputs to allow delete all.
  • 1.1.0 - Added multi language support.
  • 1.0.0 - Public API release.
  • 0.1.1 - Development alpha release.

Look Ahead (what might be changed in the future.)

  • Removing cURL as a requirement.
  • Combining POST,DELETE,PATCH into a single method.

Built With

Authors

License

This project is licensed under the MIT License., (*10)

The Versions

09/11 2017

dev-master

9999999-dev https://github.com/PHPfanatic/clarifai

clarifAI PHP Library

  Sources   Download

MIT

The Requires

  • php ^5.6|^7.0

 

The Development Requires

by Nick White

php machine learning recognition clarifai

09/11 2017

2.0.1

2.0.1.0 https://github.com/PHPfanatic/clarifai

clarifAI PHP Library

  Sources   Download

MIT

The Requires

  • php ^5.6|^7.0

 

The Development Requires

by Nick White

php machine learning recognition clarifai

09/11 2017

2.0.0

2.0.0.0 https://github.com/PHPfanatic/clarifai

clarifAI PHP Library

  Sources   Download

MIT

The Requires

  • php ^5.6|^7.0

 

The Development Requires

by Nick White

php machine learning recognition clarifai

17/08 2017

1.2.3

1.2.3.0 https://github.com/PHPfanatic/clarifai

clarifAI PHP Library

  Sources   Download

MIT

The Requires

  • php ^5.6|^7.0

 

The Development Requires

by Nick White

php machine learning recognition clarifai

08/07 2017

1.2.2

1.2.2.0 https://github.com/PHPfanatic/clarifai

clarifAI PHP Library

  Sources   Download

MIT

The Requires

  • php ^5.6|^7.0

 

The Development Requires

by Nick White

php machine learning recognition clarifai

06/05 2017

1.2.1

1.2.1.0 https://github.com/PHPfanatic/clarifai

clarifAI PHP Library

  Sources   Download

MIT

The Requires

  • php ^5.6|^7.0

 

The Development Requires

by Nick White

php machine learning recognition clarifai

22/03 2017

1.2.0

1.2.0.0 https://github.com/PHPfanatic/clarifai

clarifAI PHP Library

  Sources   Download

MIT

The Requires

  • php ^5.6|^7.0

 

The Development Requires

by Nick White

php machine learning recognition clarifai

16/03 2017

1.1.0

1.1.0.0 https://github.com/PHPfanatic/clarifai

clarifAI PHP Library

  Sources   Download

MIT

The Requires

  • php ^5.6|^7.0

 

The Development Requires

by Nick White

php machine learning recognition clarifai

13/03 2017

1.0.0

1.0.0.0 https://github.com/PHPfanatic/clarifai

clarifAI PHP Library

  Sources   Download

MIT

The Requires

  • php ^5.6|^7.0

 

The Development Requires

by Nick White

php machine learning recognition clarifai

10/03 2017

0.1.1-alpha

0.1.1.0-alpha https://github.com/PHPfanatic/clarifai

clarifAI PHP Library

  Sources   Download

MIT

The Requires

  • php ^5.6|^7.0

 

The Development Requires

by Nick White

php machine learning recognition clarifai