PHPackages                             andrewdevelop/api-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. andrewdevelop/api-localization

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

andrewdevelop/api-localization
==============================

Basic locale switcher for Lumen

07PHP

Since Mar 27Pushed 6y ago1 watchersCompare

[ Source](https://github.com/andrewdevelop/api-localization)[ Packagist](https://packagist.org/packages/andrewdevelop/api-localization)[ RSS](/packages/andrewdevelop-api-localization/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

### Install:

[](#install)

```
composer require andrewdevelop/api-localization:dev-master

```

### Register service provider:

[](#register-service-provider)

Open your bootstrap/app.php file and paste this

```
$app->register(Core\Localization\LocalizationServiceProvider::class)

```

### Configure:

[](#configure)

Open your .env file and set default locale and the comma-separated list of available locales

```
APP_LOCALE=en
APP_LOCALES=en,ar,ru

```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/062596a014ce67fe192ca0fd540d1ab1ef07e5a2f963e09d9fea47ed3b4025b0?d=identicon)[AndrewOverlord](/maintainers/AndrewOverlord)

---

Top Contributors

[![andrewdevelop](https://avatars.githubusercontent.com/u/4492534?v=4)](https://github.com/andrewdevelop "andrewdevelop (2 commits)")

### Embed Badge

![Health badge](/badges/andrewdevelop-api-localization/health.svg)

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

PHPackages © 2026

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