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

https://github.com/laith98dev/translatorapi

My TranslatorAPI
https://github.com/laith98dev/translatorapi

Last synced: 5 months ago
JSON representation

My TranslatorAPI

Awesome Lists containing this project

README

          

# TranslatorAPI
- Supports all Google Translate languages, easy to use, fast

# API
```php
use Laith98Dev\TranslatorAPI\Translator;

$results = Translator::translate("from", "to", "text");
```
**For example**
```php
use Laith98Dev\TranslatorAPI\Translator;

$results = Translator::translate("en", "es", "hi");// translate from English to spanish
$results = Translator::translate("en", "ar", "hi");// translate from English to arabic
```

# buy me a coffee
- [![Donate](https://img.shields.io/badge/donate-Paypal-yellow.svg?style=flat-square)](https://paypal.me/Laith113)