/laravel-watson-translate

:symbols: :arrow_right: :capital_abcd: Using IBM Watson Language Translation Service with Laravel 5

Primary LanguagePHPMIT LicenseMIT

Laravel 5 IBM Watson Translate

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