PHPackages                             pmdevelopment/translate-bundle - 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. pmdevelopment/translate-bundle

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

pmdevelopment/translate-bundle
==============================

Google Translate API Bundle for Symfony2

1.0.0(9y ago)021MITPHPPHP &gt;=5.4.0

Since Oct 18Pushed 9y ago1 watchersCompare

[ Source](https://github.com/pmdevelopment/translate-bundle)[ Packagist](https://packagist.org/packages/pmdevelopment/translate-bundle)[ RSS](/packages/pmdevelopment-translate-bundle/feed)WikiDiscussions master Synced 4w ago

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

translate-bundle
================

[](#translate-bundle)

Google Translate API Bundle

Config.yml
----------

[](#configyml)

"from" and "to" are optional. Default is "en" to "de".

```
    pm_translate:
        api_key: '%google_api_translate_key%'
        from: de
        to: en
```

Usage
-----

[](#usage)

```
    /*
     * Default Language
     */
    $translation = $this->get('pm_translate.services.translation_service')->translate($keywordName);

    /*
     * Custom Language
     */
    $translation = $this->get('pm_translate.services.translation_service')->translate($keywordName, 'en', 'fr');
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

3544d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4947485?v=4)[Sven](/maintainers/pmdevelopment)[@pmdevelopment](https://github.com/pmdevelopment)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[ben182/laravel-auto-translate

Automatically translate your language files using Google Translate

1789.6k](/packages/ben182-laravel-auto-translate)[smmoosavi/php-gettext

Wrapper for php-gettext by danilo segan. This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.

1927.0k1](/packages/smmoosavi-php-gettext)[laradevs/spanish

labels translated to spanish

166.8k](/packages/laradevs-spanish)

PHPackages © 2026

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