PHPackages                             kalitvyan/laravel-enum-localization - 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. kalitvyan/laravel-enum-localization

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

kalitvyan/laravel-enum-localization
===================================

Laravel Enums with Localizationgit

v1.0.0(3y ago)04MITPHPPHP ^8.1

Since Oct 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/kalitvyan/laravel-enum-localization)[ Packagist](https://packagist.org/packages/kalitvyan/laravel-enum-localization)[ RSS](/packages/kalitvyan-laravel-enum-localization/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

Laravel Enums with Localization
===============================

[](#laravel-enums-with-localization)

This package helps to working with Enums and its values (aka Backed enums) when you need different languages to use. It includes an artisan command to generate Enum.

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

[](#installation)

```
composer require kalitvyan/laravel-enum-localization
```

Usage
-----

[](#usage)

To generate a new Enum run the following artisan command:

```
php artisan make:enum MyEnum
```

It will generate the following enum: `app/Enums/MyEnum.php`.

Testing
-------

[](#testing)

To run the test suite:

```
composer test
```

Credits
-------

[](#credits)

- [Kostya Kalitvyansky](https://github.com/kalitvyan)
- [All Contributors](../../contributors)

LICENSE
-------

[](#license)

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

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1306d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6c4de09d5e7ad37841b0960055095acd86de157da1e4bae86c83a5ec03850a03?d=identicon)[kalitvyan](/maintainers/kalitvyan)

---

Top Contributors

[![kalitvyan](https://avatars.githubusercontent.com/u/1594665?v=4)](https://github.com/kalitvyan "kalitvyan (1 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/kalitvyan-laravel-enum-localization/health.svg)

```
[![Health](https://phpackages.com/badges/kalitvyan-laravel-enum-localization/health.svg)](https://phpackages.com/packages/kalitvyan-laravel-enum-localization)
```

###  Alternatives

[barryvdh/laravel-translation-manager

Manage Laravel Translations

1.7k3.6M17](/packages/barryvdh-laravel-translation-manager)[vluzrmos/language-detector

Detect the language for your application using browser preferences, subdomains or route prefixes.

109554.8k3](/packages/vluzrmos-language-detector)[kerigard/laravel-lang-ru

Ru lang for Laravel

2116.8k](/packages/kerigard-laravel-lang-ru)[highsolutions/laravel-translation-manager

Manage Laravel Translations

1518.8k](/packages/highsolutions-laravel-translation-manager)[amendozaaguiar/laraveles-spanish-for-jetstream

Archivos de traducción al español latinoamericano para Laravel con Jetstream (auth, pagination, passwords, validation + todas las cadenas de Jetstream).

1412.1k](/packages/amendozaaguiar-laraveles-spanish-for-jetstream)

PHPackages © 2026

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