findbrok/laravel-watson-translate

This package is abandoned and no longer maintained. No replacement package was suggested.

Use IBM Watson language translation service with laravel

v1.0.14 2016-11-05 07:13 UTC

This package is auto-updated.

Last update: 2023-06-05 01:44:38 UTC


README

SensioLabsInsight

StyleCI Build Status Latest Stable Version Total Downloads Latest Unstable Version License

This package provides a simple api to perform translations using the IBM Watson Language Translation service.

To get a better understanding of how this package works read the documentation for Watson Language Translation service first.

Installation

Begin by installing this package through Composer.

{
    "require": {
        "findbrok/laravel-watson-translate": "~1.0"
    }
}

Add the WatsonTranslateServiceProvider to your providers array

// config/app.php

'providers' => [
    ...
    FindBrok\WatsonTranslate\WatsonTranslateServiceProvider::class,
];

Configuration

First publish the configuration file

php artisan vendor:publish --provider="FindBrok\WatsonTranslate\WatsonTranslateServiceProvider"

Set your correct credentials and default configuration for using your IBM Watson Language translation service

config/watson-translate.php

Usage

Read the Docs

Credits

Percy Mamedy

Twitter: @PercyMamedy
GitHub: percymamedy