Download the PHP package darrynten/watson-personality-insights-php without Composer

On this page you can find all versions of the php package darrynten/watson-personality-insights-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package watson-personality-insights-php

watson-personality-insights-php

Travis Build Status StyleCI Status codecov Packagist Version MIT License

A framework agnostic fully unit tested client for IBM Watson Personality insights API.

For PHP 7.0+

Install

Usage

Some things you can set

You can also add a ContentItem directly

Notes

Privacy

IBM have a mode that keeps a copy of your data on their side for the apparent training of Watson. This is normally opt-out.

As this isn't explicitly made clear, we have decided to disable by default so if you do with to help Watson learn then you can do so by opting-in as outlined in the examples above.

By default this package will not allow any tracking of any kind.

"Version"

This is the source of some confusion. This is a date in the format of 'YYYY-MM-DD' and Watson will use whichever version was around at that time.

Full quote

The requested version of the response format as a date in the form YYYY-MM-DD; for example, specify 2016-10-20 for October 20, 2016. The date that you specify does not need to match a version of the service exactly; the service replies with the response format whose version is no later than the date you provide. If you specify a date that is earlier than the initial release of version 3, the service returns the response format for that first version. If you specify a date that is in the future or otherwise later than the most recent version, the service returns the response format for the latest version.

Credentials

You can download your credentials in a json file, or get them from the developer console.

Details on IBM

Unit tests

Test coverage is 100%, but you can also include a live API test to see if everything is working on that end. You shouldn't have to though, but it can be useful.

To do live test export

You must also include your real credentials.json in the root of the project (it is already in the gitignore).

Which will then do the live test.

Not yet supported

Contributing and Testing

There is currently 100% test coverage in the project, please ensure that when contributing you update the tests. For more info see CONTRIBUTING.md

Acknowledgements


All versions of watson-personality-insights-php with dependencies

PHP Build Version
Package Version
Requires php Version ^5.5.9 || ^7.0
guzzlehttp/guzzle Version ^6.2.1
darrynten/any-cache Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package darrynten/watson-personality-insights-php contains the following files

Loading the files please wait ....