dev-master
9999999-devIBM Watson SDK PHP
GNU General Public License v3.0
The Requires
The Development Requires
by Meraj Ahmad Siddiqui
ibm-watson php watson ibm-watson php sdk watson sdk php
Wallogit.com
2017 © Pedro Peláez
IBM Watson SDK PHP
IBM Watson is PHP SDK of using IBM watson services provided by IBM. This sdk is unofficial. I personally wish to develop this and i will maintain is as long as possible., (*1)
You are free to fork this, use it, and create and issue, I also request you to fork , contribute and create a pull request., (*2)
It is advised to install it using composer., (*3)
composer require merajsiddiqui/ibm-watson
/config/credential.json, (*4)
{
"url": "https://gateway.watsonplatform.net/language-translator/api",
"username": "some random string password provided",
"password": "randompassword"
}
Authenticating to Service, (*5)
<?php include dirname(__DIR__). "/vendor/autoload.php"; use IBMWatson\Config; $api_credintial_json_file = "/config/credential.json"; $config = Config::init($api_credintial_json_file);
Using services:, (*6)
Authentication:, (*7)
use IBMWatson\Language\LanguageTranslator\Translator; //$config as above $translator = new Translator($config);
Having any trouble mail me at : merajsiddiqui@outlook.com or create an issue. Always use IBM watson API refrence for using this sdk., (*8)
IBM Watson SDK PHP
GNU General Public License v3.0
ibm-watson php watson ibm-watson php sdk watson sdk php