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 yesterday

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

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

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

[illuminate/translation

The Illuminate Translation package.

6938.0M571](/packages/illuminate-translation)[erag/laravel-lang-sync-inertia

A powerful Laravel package for syncing and managing language translations across backend and Inertia.js (Vue/React/Svelte) frontends, offering effortless localization, auto-sync features, and smooth multi-language support for modern Laravel applications.

4925.3k](/packages/erag-laravel-lang-sync-inertia)

PHPackages © 2026

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