PHPackages                             nevadskiy/laravel-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. [Database &amp; ORM](/categories/database)
4. /
5. nevadskiy/laravel-translatable

ActiveLibrary[Database &amp; ORM](/categories/database)

nevadskiy/laravel-translatable
==============================

Add translations to your Eloquent models

0.10.0(1y ago)2222.5k↓27.3%6[1 issues](https://github.com/xalaida/laravel-translatable/issues)[1 PRs](https://github.com/xalaida/laravel-translatable/pulls)1MITPHPPHP ^7.2|^8.0CI passing

Since May 16Pushed 1y agoCompare

[ Source](https://github.com/xalaida/laravel-translatable)[ Packagist](https://packagist.org/packages/nevadskiy/laravel-translatable)[ Docs](https://github.com/nevadskiy/laravel-translatable)[ RSS](/packages/nevadskiy-laravel-translatable/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (4)Versions (18)Used By (1)

Add translations to your Eloquent models
========================================

[](#add-translations-to-your-eloquent-models)

[![PHPUnit](https://camo.githubusercontent.com/c8287d568619fe5a5df18f05cabd96605b993bb05ddd5328475b5c310b406d2c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6e65766164736b69792f6c61726176656c2d7472616e736c617461626c652f706870756e69742e796d6c3f6272616e63683d6d6173746572)](https://packagist.org/packages/nevadskiy/laravel-translatable)[![Code Coverage](https://camo.githubusercontent.com/f5391398b55ab72fba91dd7425efae00d1df592c45682688215942acf83b1fb2/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6e65766164736b69792f6c61726176656c2d7472616e736c617461626c653f746f6b656e3d39583641515159435041)](https://packagist.org/packages/nevadskiy/laravel-translatable)[![Latest Stable Version](https://camo.githubusercontent.com/5b787dcec521fc2d6f3efe35dae1b05880723e19b1bcf99d5df421eab411235e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e65766164736b69792f6c61726176656c2d7472616e736c617461626c65)](https://packagist.org/packages/nevadskiy/laravel-translatable)[![License](https://camo.githubusercontent.com/37057c9bda653690f287275aec2ecd36c8795ec6b4fe6e3706ab9bc4a396dcf0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6e65766164736b69792f6c61726176656c2d7472616e736c617461626c65)](https://packagist.org/packages/nevadskiy/laravel-translatable)

[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct-single.svg)](https://stand-with-ukraine.pp.ua)

🍬 Features
----------

[](#-features)

- Translatable attributes behave like regular model attributes.
- Full support for accessors, mutators and casts (even JSON).
- Fallback translations.
- 4 different strategies for storing translations.

📺 Quick demo
------------

[](#-quick-demo)

```
$book = new Book()
$book->translator()->set('title', 'Fifty miles', 'en')
$book->translator()->set('title', "П'ятдесят верстов", 'uk')
$book->save();

app()->setLocale('en');
echo $book->title; // Fifty miles

app()->setLocale('uk');
echo $book->title; // П'ятдесят верстов
```

✅ Requirements
--------------

[](#-requirements)

- PHP `7.2` or newer
- Laravel `7.0` or newer
- Can work with [Octane](https://github.com/laravel/octane)

🔌 Installation
--------------

[](#-installation)

Install the package via composer:

```
composer require nevadskiy/laravel-translatable
```

📑 Documentation
---------------

[](#-documentation)

Documentation for the package can be found in the [Wiki section](https://github.com/nevadskiy/laravel-translatable/wiki).

📄 Changelog
-----------

[](#-changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

☕ Contributing
--------------

[](#-contributing)

Thank you for considering contributing. Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for more information.

📜 License
---------

[](#-license)

The MIT License (MIT). Please see [LICENSE](LICENSE.md) for more information.

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance43

Moderate activity, may be stable

Popularity37

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 99.7% 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 ~128 days

Recently: every ~310 days

Total

15

Last Release

436d ago

PHP version history (2 changes)0.1.0PHP ^7.2

0.7.0PHP ^7.2|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/28da65e8fb67327a4aecc884be2d4d14d719ed0b393ec9c4febe0f91b9750eb5?d=identicon)[xalaida](/maintainers/xalaida)

---

Top Contributors

[![xalaida](https://avatars.githubusercontent.com/u/31131784?v=4)](https://github.com/xalaida "xalaida (718 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

eloquentlaravelmultilanguagetranslationslaravellocalizationtranslationsdatabasetranslationmodel

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[waad/laravel-model-metadata

A robust Laravel package for handling metadata with JSON casting, custom relation names, and advanced querying capabilities.

854.6k](/packages/waad-laravel-model-metadata)[designmynight/laravel-elasticsearch

Use Elasticsearch as a database in Laravel to retrieve Eloquent models and perform aggregations.

3142.2k](/packages/designmynight-laravel-elasticsearch)[hpolthof/laravel-translations-db

A database translations implementation for Laravel 5.

545.8k](/packages/hpolthof-laravel-translations-db)

PHPackages © 2026

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