Navigation Menu

Skip to content
This repository has been archived by the owner on May 28, 2023. It is now read-only.

findbrok/laravel-watson-translate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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