PHPackages                             simp/translate - 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. [Localization &amp; i18n](/categories/localization)
4. /
5. simp/translate

ActiveLibrary[Localization &amp; i18n](/categories/localization)

simp/translate
==============

This is packages of simp content manager for translation

v1.0.3(8mo ago)0432MITPHP

Since May 7Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/CHANCENY/translate)[ Packagist](https://packagist.org/packages/simp/translate)[ RSS](/packages/simp-translate/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (3)Versions (5)Used By (2)

Simp Translate Package
======================

[](#simp-translate-package)

A PHP library for easy text translation between different languages using Google Translate API with caching support.

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

[](#installation)

Install the package via composer:

```
   composer require simp/translate
```

Usage
-----

[](#usage)

### Basic usage

[](#basic-usage)

```
    require_once 'vendor/autoload.php';

    // Note: this will use the default translation languages, i.e., en to fr
    echo Translate::translate('Hello, How are you?');
```

### Advance usage

[](#advance-usage)

```

   require_once 'vendor/autoload.php';

   //Note: here we are manually setting the output language ie the original text is english which will be translated to Nyanja (Chichewa)
   echo Translate::translate('Hello, How are you?', to: 'ny');

   // This is also possible.
   echo Translate::translate('Moni', from: 'ny', to: 'en');

   // Sometimes you will need to just save the translation result some where to reuse it, in that way you dont have ask google to translate everytime.
   echo Translate::translate('Hello, How are you?', to: 'ny', cacheLocation: __DIR__.'/cache');
```

Maintainer
----------

[](#maintainer)

[Chance Nyasulu](https://github.com/CHANCENY)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance59

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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

Every ~34 days

Total

4

Last Release

266d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6097a3277a85cf902ab5d617af1515359091563d1d288dd969e59ca50646a782?d=identicon)[Chance007](/maintainers/Chance007)

---

Top Contributors

[![maybuck](https://avatars.githubusercontent.com/u/12176638?v=4)](https://github.com/maybuck "maybuck (3 commits)")[![CHANCENY](https://avatars.githubusercontent.com/u/96126430?v=4)](https://github.com/CHANCENY "CHANCENY (2 commits)")

### Embed Badge

![Health badge](/badges/simp-translate/health.svg)

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

###  Alternatives

[lexik/translation-bundle

This bundle allows to import translation files content into the database and provide a GUI to edit translations.

4362.7M19](/packages/lexik-translation-bundle)[boxblinkracer/phpunuhi

Easy tool to work with translation files for validation, exports, imports and more.

83225.2k17](/packages/boxblinkracer-phpunuhi)[devitek/yaml-translation

Add YAML file support to Laravel TranslationServiceProvider

3345.0k2](/packages/devitek-yaml-translation)

PHPackages © 2026

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