AYLIEN's officially supported PHP client library for accessing Text API
Clone or download
mdibaiee Merge pull request #5 from AYLIEN/extract-html-parameter
fix(Extract): user sould either supply url or html
Latest commit a7b78b4 Aug 21, 2018



This is the PHP client library for AYLIEN's APIs. If you haven't already done so, you will need to sign up.


To install, simply add it to your composer.json:

  "require": {
    "aylien/textapi": "0.7.*"

See the Developers Guide for additional documentation.


$textapi = new AYLIEN\TextAPI("YourApplicationId", "YourApplicationKey");
$sentiment = $textapi->Sentiment(array('text' => 'John is a very good football player!'));