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

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

cares0107/translatable
======================

This is laravel translatable package

1.1.11(2y ago)92MITPHPPHP ^8.1|8.2|8.3

Since Mar 4Pushed 2y ago3 watchersCompare

[ Source](https://github.com/CaReS0107/translatable)[ Packagist](https://packagist.org/packages/cares0107/translatable)[ Docs](https://github.com/cares0107/translatable)[ GitHub Sponsors](https://github.com/translatable)[ RSS](/packages/cares0107-translatable/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (5)Dependencies (14)Versions (11)Used By (0)

This is Translatable
====================

[](#this-is-translatable)

The Translatable package is a powerful tool designed for Laravel applications that require dynamic translation management across multiple languages. It automates the process of scanning your Laravel project for translation keys and ensures that each key is properly defined in the corresponding JSON translation files for every language specified in your configuration. With Translatable, you can easily maintain and update your application's translations, making it an essential package for developers aiming to provide a multilingual user experience.

Key features include:

1. **Automatic Scanning**: Scours PHP files throughout your Laravel application to identify all instances of translation keys.
2. **Dynamic Translation Management**: Automatically updates JSON translation files for each configured language, ensuring that no translation key is left undefined.
3. **Configurable and Extensible**: Offers flexible configuration options, including customizable paths for scanning and exclusion rules to skip directories like vendor or node\_modules.
4. **Streamlined Localization Workflow**: Simplifies the localization process, making it easier to manage translations across large and complex applications. Whether you're building a small project or a large enterprise application, Translatable helps keep your translations organized and in sync, facilitating a smoother development process and a better user experience for multi-language applications.

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

[](#installation)

You can install the package via composer:

```
composer require cares0107/translatable
```

You can publish the config file with:

```
php artisan vendor:publish --tag="translatable-config"
```

This is the contents of the published config file:

```
return [
    'available_countries' => [
            'en', 'nl',
        ],

    'translation_files_path' => base_path(),

    'exclude_paths' => [
        '/vendor/',
        '/node_modules/',
        '/frontend/',
        '/website/',
        '/database/',
        '/.git/',
        '/.github/',
    ],
];
```

Usage
-----

[](#usage)

```
php artisan app:check-translations
```

Testing
-------

[](#testing)

```
composer test
```

Credits
-------

[](#credits)

- [Papuc Vasile](https://github.com/CaReS0107)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

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 ~5 days

Recently: every ~10 days

Total

10

Last Release

807d ago

PHP version history (2 changes)1.0.0PHP ^8.1

1.1.10.x-devPHP ^8.1|8.2|8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/030c92de48b001a09004b1c4eefb5dd24d0c777e4a3d070b4b15002b1aa290f6?d=identicon)[CaReS0107](/maintainers/CaReS0107)

---

Top Contributors

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

---

Tags

phplaraveltranslatable

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M100](/packages/dedoc-scramble)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.6k3](/packages/defstudio-telegraph)[spatie/laravel-passkeys

Use passkeys in your Laravel app

471890.7k39](/packages/spatie-laravel-passkeys)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[elegantly/laravel-translator

All on one translations management for Laravel

6333.1k](/packages/elegantly-laravel-translator)

PHPackages © 2026

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