PHPackages                             root\_rzbn/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. root\_rzbn/translator

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

root\_rzbn/translator
=====================

Admin can translate everything.

03PHP

Since Jul 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/sararzbn/Translation)[ Packagist](https://packagist.org/packages/root_rzbn/translator)[ RSS](/packages/root-rzbn-translator/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

### Translation

[](#translation)

This package allows you to manage your website translation via admin. You can create a new language, Keys and values, then publish it and write it in language files.

### Installation

[](#installation)

```
composer require root_rzbn/translation
```

Laravel 7 uses Package Auto-Discovery, so you are not required to add ServiceProvider manually.

### Laravel 7+

[](#laravel-7)

If you don't use Auto-Discovery, add the ServiceProvider to the providers array in `config/app.php` file

```
   root_rzbn\translate\TranslatorServiceProvider::class,
```

### Default Filters Namespace

[](#default-filters-namespace)

The default namespace for all filters is `App\EloquentFilters\` with the base name of the Model.

For example:

Suppose we have a **User** model with an **AgeMoreThan** filter.As a result, the namespace filter must be as follows:

#### With Config file

[](#with-config-file)

You can optionally publish the config file with:

```
php artisan vendor:publish --provider="root_rzbn\translate\ServiceProvider" --tag="config"
```

And set the namespace for your model filters which will reside in:

```
return [
    /*
     |--------------------------------------------------------------------------
     | Eloquent Filter Settings
     |--------------------------------------------------------------------------
     |
     | This is the namespace all you Eloquent Model Filters will reside
     |
     */
    'namespace' => 'root_rzbn\\translate\\',
];
```

Usage
-----

[](#usage)

.....

Publish styles
--------------

[](#publish-styles)

```
php artisan vendor:publish --provider="root_rzbn\translate\ServiceProvider" --tag="assets"
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

translation is released under the MIT License. See the bundled [LICENSE](https://github.com/sararzbn/Translation/blob/master/LICENSE)file for details.

Built with ❤️ for you.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4a8c1df385b899552a31736c218655cabf4693387d200e0dd9bc765571594efd?d=identicon)[root\_rzbn](/maintainers/root_rzbn)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[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)

PHPackages © 2026

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