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

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

brandstudio/localization
========================

BrandStudio localization

047PHP

Since Nov 3Pushed 3y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Usage
=====

[](#usage)

```
use BrandStudio\Localization\Facades\Localization;

    /**
     * Define the "api" routes for the application.
     *
     * These routes are typically stateless.
     *
     * @return void
     */
    protected function mapApiRoutes()
    {
        Route::group([
            'prefix' => Localization::setLocale()
        ], function() {
            Route::prefix('api')
                ->middleware('api')
                ->namespace($this->namespace)
                ->group(base_path('routes/api.php'));
        });
    }

```

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity25

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/e273aa0b9e31fbf81444f0801617fcc931018277b816f0c70d953e3137cc678f?d=identicon)[SarsenovZ2z](/maintainers/SarsenovZ2z)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[smmoosavi/php-gettext

Wrapper for php-gettext by danilo segan. This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.

1927.0k1](/packages/smmoosavi-php-gettext)

PHPackages © 2026

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