2017 © Pedro Peláez
 

library php-google-translate-free

Google Translate Free library for PHP

image

statickidz/php-google-translate-free

Google Translate Free library for PHP

  • Tuesday, August 22, 2017
  • by statickidz
  • Repository
  • 17 Watchers
  • 95 Stars
  • 7,457 Installations
  • PHP
  • 1 Dependents
  • 1 Suggesters
  • 47 Forks
  • 3 Open issues
  • 2 Versions
  • 26 % Grown

The README.md

PHP GoogleTranslate free tests workflow

Simple PHP library for talking to Google's Translate API for free., (*1)

Eliminates IP request limitations, (*2)

Installation

Install this package via Composer., (*3)

composer require statickidz/php-google-translate-free

Or edit your project's composer.json to require statickidz/php-google-translate-free and then run composer update., (*4)

"require": {
    "statickidz/php-google-translate-free": "^1.2.1"
}

Usage

require_once ('vendor/autoload.php');
use \Statickidz\GoogleTranslate;

$source = 'es';
$target = 'en';
$text = 'buenos días';

$trans = new GoogleTranslate();
$result = $trans->translate($source, $target, $text);

// Good morning
echo $result;

The Versions

22/08 2017

dev-master

9999999-dev https://github.com/statickidz/php-google-translate-free/

Google Translate Free library for PHP

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.4

 

The Development Requires

api google translator translate free siegsb statickidz

07/02 2017

1.0.0

1.0.0.0 https://github.com/statickidz/php-google-translate-free/

Google Translate Free library for PHP

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.4

 

The Development Requires

api google translator translate free siegsb statickidz