2017 © Pedro Peláez
 

symfony-bundle yandex-translator-bundle

Yandex translator integration in Symfony2

image

chiarillomax/yandex-translator-bundle

Yandex translator integration in Symfony2

  • Wednesday, April 20, 2016
  • by ChiarilloMassimo
  • Repository
  • 2 Watchers
  • 0 Stars
  • 270 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

YandexTranslatorBundle

SensioLabsInsight Scrutinizer Code Quality Build Status, (*1)

Use Yandex translator service in your Symfony Project, (*2)

Installation

Install the bundle:, (*3)

composer require chiarillomax/yandex-translator-bundle

Register the bundle in app/AppKernel.php:, (*4)

``` php <?php // app/AppKernel.php public function registerBundles() { return array( // ... new \Yandex\TranslatorBundle\YandexTranslatorBundle() ); }, (*5)


Usage ----- ``` php //use Yandex\TranslatorBundle\Model\Key $key = new Key(); $key->setValue('YourKey'); $request = $this->get('yandex.translator')->createRequest() ->setKey($key->getValue()) ->setText('Hello Max') ->setFrom('en') ->setTo('it') ->send(); $text = $request->getText(); //Ciao Max

Test

phpunit

The Versions

20/04 2016

dev-master

9999999-dev

Yandex translator integration in Symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

symfony translator yandex

20/04 2016

V1.2

1.2.0.0

Yandex translator integration in Symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

symfony translator yandex

10/11 2015

V1.0

1.0.0.0

Yandex translator integration in Symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

symfony translator yandex

10/11 2015

V1.1

1.1.0.0

Yandex translator integration in Symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

symfony translator yandex