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

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

secretwebmaster/laravel-localization
====================================

Easy localization for Laravel (forked for WNCMS fixes)

v2.3.0.6(3mo ago)019↓100%1MITPHPPHP ^8.2

Since Jan 23Pushed 3mo agoCompare

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

READMEChangelogDependencies (3)Versions (7)Used By (1)

secretwebmaster/laravel-localization
====================================

[](#secretwebmasterlaravel-localization)

This package is a compatibility replacement for
`mcamara/laravel-localization`.

Why this exists
---------------

[](#why-this-exists)

`mcamara/laravel-localization` contains a bug in locale mapping logic that affects projects using alias locales (e.g. `tw → zh_TW`). The upstream package is currently unmaintained.

This package provides a **drop-in replacement** with a minimal fix, without changing namespaces or public APIs.

What is changed
---------------

[](#what-is-changed)

Only one method is modified:

- `LaravelLocalization::isHiddenDefault()`

The fix ensures locale aliases are converted to full locales before comparison.

Compatibility
-------------

[](#compatibility)

- Same namespaces
- Same service provider
- Same facade
- Same config
- No breaking changes

Composer usage
--------------

[](#composer-usage)

```
composer require secretwebmaster/laravel-localization
```

###  Health Score

40

—

FairBetter than 87% of packages

Maintenance86

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

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

Every ~0 days

Total

6

Last Release

105d ago

PHP version history (2 changes)v2.3.0.1PHP ^8.0

v2.3.0.2PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/4d0914c464f41d278242ffc0dfe3f4fc3345e57ca0a6c34747f6dd702e7961f3?d=identicon)[secretwebmaster](/maintainers/secretwebmaster)

---

Top Contributors

[![secretwebmaster](https://avatars.githubusercontent.com/u/16463637?v=4)](https://github.com/secretwebmaster "secretwebmaster (7 commits)")

---

Tags

phplaravellocalizationwncms

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[mcamara/laravel-localization

Easy localization for Laravel

3.5k9.1M111](/packages/mcamara-laravel-localization)[josiasmontag/laravel-redis-mock

This Laravel package provides a Redis mock for your tests

471.8M16](/packages/josiasmontag-laravel-redis-mock)[josiasmontag/laravel-localization

Localization for Laravel framework

2336.2k](/packages/josiasmontag-laravel-localization)[jayesh/laravel-gemini-translator

An interactive command to extract and generate Laravel translations using Gemini AI.

691.7k1](/packages/jayesh-laravel-gemini-translator)[laurentesc/laravel-subdomain-localization

Subdomain localization support for Laravel

1911.3k](/packages/laurentesc-laravel-subdomain-localization)

PHPackages © 2026

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