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

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

dcyilmaz/translator
===================

Laravel Translator

v1.0.0(1y ago)481MITPHPPHP ^8.0

Since Aug 9Pushed 1y ago1 watchersCompare

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

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

Translator
==========

[](#translator)

I made this package because editing language files one by one seemed ridiculous to me. All you have to do is install it and fill the GOOGLE\_TRANSLATE\_API\_KEY variable with the api key you got from google clouds in the env file.

Install
=======

[](#install)

```
composer require dcyilmaz/translator

```

Google Cloud Translate API
==========================

[](#google-cloud-translate-api)

Usage
=====

[](#usage)

- First, add your GOOGLE\_TRANSLATE\_API\_KEY API key to your env file.
- You should have a language file under your resources/lang/defaultlang(en-tr-..etc) folder. For example resources/lang/en/test.php
- Run command

```
php artisan translate:language en tr test

```

This command takes the language test.php under resources/lang/en and translates everything written in it into Turkish.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

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

637d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/091fc7a1270ec9ada6489efe14da3e76f54b7878456c5e075d53e1b0ecf6e161?d=identicon)[dcyilmaz](/maintainers/dcyilmaz)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/dcyilmaz-translator/health.svg)

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

###  Alternatives

[mcamara/laravel-localization

Easy localization for Laravel

3.5k9.1M110](/packages/mcamara-laravel-localization)[typicms/base

A modular multilingual CMS built with Laravel, enabling developers to manage structured content like pages, news, events, and more.

1.6k20.3k](/packages/typicms-base)[vemcogroup/laravel-translation

Translation package for Laravel to scan for localisations and up/download to poeditor

135304.0k2](/packages/vemcogroup-laravel-translation)[acclaro/translations

Easily launch and manage multilingual Craft websites without having to copy/paste content or manually track updates.

1229.5k](/packages/acclaro-translations)[glebsky/laravel-lang-generator

Searches for multilingual phrases in Laravel project and automatically generates language files for you.

2421.3k](/packages/glebsky-laravel-lang-generator)

PHPackages © 2026

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