Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/bilaleren/translator
- Owner: bilaleren
- License: mit
- Created: 2020-05-02T16:53:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-02T16:55:57.000Z (over 4 years ago)
- Last Synced: 2024-11-06T23:45:35.505Z (2 months ago)
- Language: PHP
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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');
```