daithi / bluemix-php
dev-master
2015-04-12 02:06 UTC
Requires (Dev)
This package is not auto-updated.
Last update: 2025-05-10 20:42:07 UTC
README
A php library to provide API calls & handle authentication with the Bluemix personality insights using PHP
Documentation on the Personality Insights API can be found here: Rest API Documentation An example using node: watson-developer-cloud/personality-insights-nodejs
requirements due to dependency
- Guzzle restful library
- PHP 5.4.0
- To use the PHP stream handler, allow_url_fopen must be enabled in your system’s php.ini.
- To use the cURL handler, you must have a recent version of cURL >= 7.16.2 compiled with OpenSSL and zlib.
download code
git clone https://github.com/daithi-coombes/bluemix-personality-insights-php
add credentials
cp -a config.yml.dist config.yml
Enter in your IBM Bluemix
credentials into config.yml
. Make sure you include
your username
, password
and the url
to the Personality Inights
service
on your account.
run sample
php bin/run
run tests
cd bluemix-personality-insights-php
composer test