PHPackages                             upon/translatable - 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. upon/translatable

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

upon/translatable
=================

Translation package for laravel 5

1.0.3(7y ago)019MITPHPPHP ^7.0

Since Sep 10Pushed 7y ago1 watchersCompare

[ Source](https://github.com/reymonzakhary/translatable)[ Packagist](https://packagist.org/packages/upon/translatable)[ RSS](/packages/upon-translatable/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (4)Dependencies (4)Versions (5)Used By (0)

Laravel Translatable Packages
=============================

[](#laravel-translatable-packages)

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

[](#installation)

To install through composer, simply put the following in your composer.json file:

```
{
    "require": {
        "upon/translatable": "~1.0.0"
    }
}

```

And then run composer install from the terminal.

Quick Installation
------------------

[](#quick-installation)

Above installation can also be simplify by using the following command:

```
composer require upon/translatable

```

In Laravel 5.5, the service provider and facade will automatically get registered. For older versions of the framework, follow the steps below:

Register the service provider in config/app.php

```
'providers' => [
		// [...]
                Upon\Translatable\Providers\TranslatableServiceProvider::class,
        ],

```

Usage
-----

[](#usage)

Run migration to migrate the translation table

```
    php artisan migrate

```

Add the trait to your model

```
use Upon\Translatable\Traits\TranslatableTrait;

class Model
{
    use TranslatableTrait;

    protected $translatable = ['name'];

```

Example
-------

[](#example)

Set your local and start using the translation

```
    App::setLocale('nl');

    return Model::create([
        'name' => 'your name ', // this will be used as fallback for translation if not translated yet
    ]);

```

the trait will automatically create a translation for this column

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Every ~0 days

Total

4

Last Release

2851d ago

PHP version history (3 changes)1.0.0PHP &gt;=7.2.0

1.0.1PHP ~7.0.0

1.0.2PHP ^7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11016339?v=4)[Reymon Zakhary](/maintainers/reymonzakhary)[@reymonzakhary](https://github.com/reymonzakhary)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/upon-translatable/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M342](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M183](/packages/laravel-ai)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M23](/packages/yajra-laravel-oci8)[illuminate/queue

The Illuminate Queue package.

21332.6M1.5k](/packages/illuminate-queue)[glushkovds/phpclickhouse-laravel

Adapter of the most popular library https://github.com/smi2/phpClickHouse to Laravel

2051.5M2](/packages/glushkovds-phpclickhouse-laravel)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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