PHPackages                             thejano/text-translator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. thejano/text-translator

ActiveLibrary[API Development](/categories/api)

thejano/text-translator
=======================

A package to translate text from Google Translator for free without api.

1.1.0(3y ago)4154↓50%4[1 PRs](https://github.com/thejano/text-translator/pulls)MITPHPPHP ^8.0CI failing

Since Oct 6Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/thejano/text-translator)[ Packagist](https://packagist.org/packages/thejano/text-translator)[ Docs](https://github.com/thejano/text-translator)[ RSS](/packages/thejano-text-translator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (4)Used By (0)

Text Translator for PHP
=======================

[](#text-translator-for-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/04d3a9b27aa2340aebb5ccff73081843867230f6ad2d7470225bbc7fa4bd1dab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7468656a616e6f2f746578742d7472616e736c61746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/thejano/text-translator)[![Total Downloads](https://camo.githubusercontent.com/798611571c8a3ab88d9cec7107df00e62142c2d513304dd8f2f623fef9524a1d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7468656a616e6f2f746578742d7472616e736c61746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/thejano/text-translator)

This package allows text translation using Google Translate for free without an API. It extracts the translated text from the Google Translate website. Meanwhile, it only supports Google Translate.

Supported Languages for Google Translate

Requirement
-----------

[](#requirement)

The package requires:

- PHP 8.0 or higher

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require thejano/text-translator
```

Usage
-----

[](#usage)

You can use the package like below example

```
