PHPackages                             charef/free-translate-api - 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. charef/free-translate-api

ActiveLibrary

charef/free-translate-api
=========================

Simple laravel package for talking to Google's Translate API for free.

v1.0.1(3y ago)358MITPHP

Since Jun 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/charef00/free-translate-api)[ Packagist](https://packagist.org/packages/charef/free-translate-api)[ RSS](/packages/charef-free-translate-api/feed)WikiDiscussions main Synced 4w ago

READMEChangelogDependenciesVersions (4)Used By (0)

[![Issues](https://camo.githubusercontent.com/4741ffdfa6d99d93eb5db60bc3a75ee602c574827bfd97ce4e8333e780d6630a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f63686172656630302f667265652d7472616e736c6174652d6170693f7374796c653d666c61742d737175617265)](https://github.com/charef00/free-translate-api/issues)[![Stars](https://camo.githubusercontent.com/d35b05a538c4da08c59826d025779673a00df9c379153e52cbcdee3e89b61dcf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f63686172656630302f667265652d7472616e736c6174652d6170693f7374796c653d666c61742d737175617265)](https://github.com/charef00/free-translate-api/stargazes)[![Forks](https://camo.githubusercontent.com/b0617e088151350872882a0c6335d1afd8612af180b89107e5957c711b5217d5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f63686172656630302f667265652d7472616e736c6174652d6170693f7374796c653d666c61742d737175617265)](https://github.com/charef00/free-translate-api/forks)

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

[](#installation)

### Video Tutorial

[](#video-tutorial)

[Watch a Video Tutorial here](https://packagist.org/packages/charef/free-translate-api)

### You need to translate your text ?

[](#you-need-to-translate-your-text-)

First, pull in the package through Composer.

Run `composer require charef/free-translate-api`

And then, if using Laravel 5 or &gt;, include the service provider within `config/app.php`.

```
'providers' => [
    Charef\FreeTranslateApi\FreeTranslateAPIServideProvider::class,
];
```

And, for convenience, add a facade alias to this same file at the bottom:

```
'aliases' => [
    'TranslateAPI' => Charef\FreeTranslateApi\TranslateAPI::class,
];
```

Usage
-----

[](#usage)

you need just to define source and target langage and text ...

```
use Charef\FreeTranslateApi\TranslateAPI;
public function translate()
{
    $source = 'ar';
    $target = 'en';
    $text = 'مرحبا';

    $result=TranslateAPI::translate($source, $target, $text);

    // Welcome
    dd($result);
}
```

thanks to
=========

[](#thanks-to)

[Adrián Barrio Andrés](https://github.com/statickidz).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1423d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/387126aec2a6be96fa21f95feaa4474ce24f2fc39b53d68ec8386d1ea41d58a0?d=identicon)[charef00](/maintainers/charef00)

---

Top Contributors

[![charef00](https://avatars.githubusercontent.com/u/46047976?v=4)](https://github.com/charef00 "charef00 (14 commits)")

### Embed Badge

![Health badge](/badges/charef-free-translate-api/health.svg)

```
[![Health](https://phpackages.com/badges/charef-free-translate-api/health.svg)](https://phpackages.com/packages/charef-free-translate-api)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
