Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bilaleren/translator

PHP Google Translate library.
https://github.com/bilaleren/translator

Last synced: 15 days ago
JSON representation

PHP Google Translate library.

Awesome Lists containing this project

README

        

# PHP Google Translate
PHP Google Translate library.

## Prerequisites

PHP >= 7.1

## Installation

```
composer require bilaleren/translator
```

## Usage

```php
use Translator\Translator;

echo Translator::translate('Hello world', 'tr');

// Or

use function Translator\translate;

echo translate('Hello world', 'tr');
```