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

ActiveLibrary

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 1mo 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 54% 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

760d 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

[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[tapp/filament-google-autocomplete-field

Filament plugin that provides a Google Autocomplete field

3098.1k](/packages/tapp-filament-google-autocomplete-field)[jonpurvis/squeaky

A Laravel Validation Rule to Help Catch Profanity.

706.0k](/packages/jonpurvis-squeaky)[creagia/laravel-redsys

Laravel Redsys Payments Gateway

2013.6k](/packages/creagia-laravel-redsys)

PHPackages © 2026

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