PHPackages                             impronta48/ibmwatson - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. impronta48/ibmwatson

ActiveLibrary[Localization &amp; i18n](/categories/localization)

impronta48/ibmwatson
====================

PHP SDK to get translations from IBM Watson

v1.0.3(1y ago)0104MITPHPPHP &gt;=7.1

Since Apr 22Pushed 1y ago2 watchersCompare

[ Source](https://github.com/impronta48/IBMWatson-php)[ Packagist](https://packagist.org/packages/impronta48/ibmwatson)[ Docs](https://github.com/impronta48)[ RSS](/packages/impronta48-ibmwatson/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (5)Used By (0)

IBM Watson PHP Interface
========================

[](#ibm-watson-php-interface)

This library allows easy interfacing with IBM Watson tranlsation services.

Requirements
------------

[](#requirements)

- PHP 7.1+
- GuzzleHttp 6+

This library is well integrated in CakePHP

Getting Started (Installation)
------------------------------

[](#getting-started-installation)

1. Create a (free) account on IBM Watson ()
2. Get your **API KEY** and your **URL**
3. Include the library in your project with composer

```
    composer require impronta48/IBMWatson

```

4. Use the library in your project

Usage
-----

[](#usage)

This library offers 4 functionalities

- Translate a set of sentences
- Identify the language of a text
- Translate a full document (such as Word, ODT, Excel, PowerPoint, PDF, etc.) - see here for the full list

### Translate a set of sentences

[](#translate-a-set-of-sentences)

```
