2017 © Pedro Peláez
 

package laravel-phpolyglot

Laravel package wrapper for PHP package for translation, spelling correction and text-to-speech (TTS) synthesis using external APIs

image

gino-pane/laravel-phpolyglot

Laravel package wrapper for PHP package for translation, spelling correction and text-to-speech (TTS) synthesis using external APIs

  • Thursday, February 15, 2018
  • by GinoPane
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

Laravel PHPolyglot

Latest Stable Version License Total Downloads, (*1)

Laravel package wrapper for PHPolyglot., (*2)

Requirements

  • PHP >= 7.1;
  • Laravel Framework.

Installation

composer require gino-pane/laravel-phpolyglot

As per Laravel 5.5+ service provider and facade will be registered automatically when installing. For previous versions please register service provider and facade manually. Optionally, after package installation please make sure to publish its configuration (if it was not done automatically by composer command):, (*3)

php artisan vendor:publish --provider="GinoPane\LaravelPhpolyglot\LaravelPhpolyglotProvider" --tag=config

or, (*4)

composer run-script publish-config -d ./vendor/gino-pane/laravel-phpolyglot

Also make sure to manually put your specific credentials from PHPolyglot's .env file into Laravel's .env because automatic changes to .env are not welcome:, (*5)

PUSHER_APP_KEY=...
PUSHER_APP_SECRET=...
PUSHER_APP_CLUSTER=...
...
YANDEX_TRANSLATE_API_KEY=...
...

After this you could do something like this in your Laravel's web.php:, (*6)

Route::get('/', function () {
    echo (string)PHPolyglot::translate('welcome', 'it');
});

...to get nice "benvenuto" string in your browser when accessing your test project's root page., (*7)

Usage

Please refer to original PHPolyglot documentation., (*8)

Changelog

To keep track, please refer to CHANGELOG.md., (*9)

License

Please refer to LICENSE., (*10)

The Versions

15/02 2018

dev-master

9999999-dev http://github.com/GinoPane/laravel-phpolyglot

Laravel package wrapper for PHP package for translation, spelling correction and text-to-speech (TTS) synthesis using external APIs

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel translation localization laravel package spelling text-to-speech tts yandex api spelling correction yandex translate api ibm watson api ibm watson tts grammar correction yandex dictionary api

15/02 2018

v1.0.5

1.0.5.0 http://github.com/GinoPane/laravel-phpolyglot

Laravel package wrapper for PHP package for translation, spelling correction and text-to-speech (TTS) synthesis using external APIs

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel translation localization laravel package spelling text-to-speech tts yandex api spelling correction yandex translate api ibm watson api ibm watson tts grammar correction yandex dictionary api

14/02 2018

v1.0.4

1.0.4.0 http://github.com/GinoPane/laravel-phpolyglot

Laravel package wrapper for PHP package for translation, spelling correction and text-to-speech (TTS) synthesis using external APIs

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel translation localization laravel package spelling text-to-speech tts yandex api spelling correction yandex translate api ibm watson api ibm watson tts grammar correction yandex dictionary api

14/02 2018

v1.0.3

1.0.3.0 http://github.com/GinoPane/laravel-phpolyglot

Laravel package wrapper for PHP package for translation, spelling correction and text-to-speech (TTS) synthesis using external APIs

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel translation localization laravel package spelling text-to-speech tts yandex api spelling correction yandex translate api ibm watson api ibm watson tts grammar correction yandex dictionary api

14/02 2018

v1.0.2

1.0.2.0 http://github.com/GinoPane/laravel-phpolyglot

Laravel package wrapper for PHP package for translation, spelling correction and text-to-speech (TTS) synthesis using external APIs

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel translation localization laravel package spelling text-to-speech tts yandex api spelling correction yandex translate api ibm watson api ibm watson tts grammar correction yandex dictionary api

14/02 2018

v1.0.1

1.0.1.0 http://github.com/GinoPane/laravel-phpolyglot

Laravel package wrapper for PHP package for translation, spelling correction and text-to-speech (TTS) synthesis using external APIs

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel translation localization laravel package spelling text-to-speech tts yandex api spelling correction yandex translate api ibm watson api ibm watson tts grammar correction yandex dictionary api

14/02 2018

v1.0.0

1.0.0.0 http://github.com/GinoPane/laravel-phpolyglot

Laravel package wrapper for PHP package for translation, spelling correction and text-to-speech (TTS) synthesis using external APIs

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel translation localization laravel package spelling text-to-speech tts yandex api spelling correction yandex translate api ibm watson api ibm watson tts grammar correction yandex dictionary api