findbrok / laravel-watson-translate
Use IBM Watson language translation service with laravel
Installs: 6 160
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 3
Forks: 3
Open Issues: 1
Requires
- php: >=5.5.0
- findbrok/php-watson-api-bridge: 1.0.*
- laravel/framework: 5.0 - 5.3
Requires (Dev)
- fzaninotto/faker: ~1.4
- guzzlehttp/guzzle: ~5.3|~6.0|~6.2
- mockery/mockery: 0.9.*
- orchestra/testbench: ~3.0
- phpunit/phpunit: ~4.0
README
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
Twitter: @PercyMamedy
GitHub: percymamedy