PHPackages                             outl1ne/nova-locale-manager - 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. outl1ne/nova-locale-manager

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

outl1ne/nova-locale-manager
===========================

Laravel Nova tool to manage locales.

3.0.1(3y ago)161.9k2MITPHPPHP &gt;=8.0.0CI failing

Since Mar 26Pushed 1y ago2 watchersCompare

[ Source](https://github.com/outl1ne/nova-locale-manager)[ Packagist](https://packagist.org/packages/outl1ne/nova-locale-manager)[ RSS](/packages/outl1ne-nova-locale-manager/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (9)Dependencies (4)Versions (15)Used By (0)

Nova Locale Manager
===================

[](#nova-locale-manager)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d2e77a5c476b0881488ac82a6448a20a1c23ca6e927ca5db5c37a331c39b93a1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f75746c316e652f6e6f76612d6c6f63616c652d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/outl1ne/nova-locale-manager)[![Total Downloads](https://camo.githubusercontent.com/0de01c41f7203e269e23d5e8b0cc3d867ccc9279dbae53e113c3defed57e5c42/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f75746c316e652f6e6f76612d6c6f63616c652d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/outl1ne/nova-locale-manager)

This [Laravel Nova](https://nova.laravel.com) package allows you to manage simple locales.

Features
--------

[](#features)

- Locale creation (name and slug)
- Locale state management (active, default)

Requirements
------------

[](#requirements)

- `php: >=8.0`
- `laravel/nova: ^4.0`

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

[](#installation)

Install the package in a Laravel Nova project via Composer:

```
# Install nova-locale-manager
composer require outl1ne/nova-locale-manager

# Run migrations
php artisan migrate
```

Usage
-----

[](#usage)

### nova\_get\_locales($activeOnly = false)

[](#nova_get_localesactiveonly--false)

Parameter `$activeOnly` decides wether to return only `active` locales or all.

Returns the locales as a `slug => name` map.

```
[
    'en' => 'English',
    'et' => 'Estonian',
]
```

### nova\_get\_locales\_full($activeOnly = false)

[](#nova_get_locales_fullactiveonly--false)

Parameter `$activeOnly` decides wether to return only `active` locales or all.

Returns the locales and all their data.

```
[
    [
        'name' => 'English',
        'slug' => 'en',
        'active' => false,
        'default' => false,
    ],
    [
        'name' => 'Estonian',
        'slug' => 'et',
        'active' => true,
        'default' => true,
    ],
]
```

### nova\_get\_default\_locale()

[](#nova_get_default_locale)

Returns the default locale's full data.

```
[
    'name' => 'English',
    'slug' => 'en',
    'active' => false,
    'default' => false,
],
```

### nova\_get\_default\_locale\_slug()

[](#nova_get_default_locale_slug)

Returns the default locale's slug.

```
'en'
```

### Handling locale deletion

[](#handling-locale-deletion)

You can get register a callback for when a locale is deleted using the `NovaLocaleManager::deleteCallback()` function. You can register the call back in `NovaServiceProvider`'s `boot()` function.

Example:

```
// in app/Providers/NovaServiceProvider.php

public function boot()
{
    \Outl1ne\NovaLocaleManager\NovaLocaleManager::deleteCallback(function ($locale) {
        // $locale is the Locale model
        // Locale ID: $locale->id
        // Locale slug: $locale->locale
        // Locale name: $locale->name
    });
}
```

Configuration
-------------

[](#configuration)

The config file can be published using the following command:

```
php artisan vendor:publish --provider="Outl1ne\NovaLocaleManager\NovaLocaleManagerServiceProvider" --tag="config"
```

Credits
-------

[](#credits)

- [Tarvo Reinpalu](https://github.com/Tarpsvo)

License
-------

[](#license)

Nova Locale Manager is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 75.5% 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 ~100 days

Recently: every ~195 days

Total

13

Last Release

1394d ago

Major Versions

1.0.5 → 2.0.02020-02-25

2.0.4 → 3.0.02022-07-07

PHP version history (2 changes)1.0.0PHP &gt;=7.1.0

3.0.0PHP &gt;=8.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/f1c2970763f51ca6ffcc1f1b6971a472b6b36a74d5eeb5446fb9d1caab44d016?d=identicon)[Tarpsvo](/maintainers/Tarpsvo)

![](https://www.gravatar.com/avatar/5c80ca2be0e3f88f4422fae771026154c71332ad8b4dde5ea4fd41807dbbabba?d=identicon)[KasparRosin](/maintainers/KasparRosin)

---

Top Contributors

[![Tarpsvo](https://avatars.githubusercontent.com/u/2018660?v=4)](https://github.com/Tarpsvo "Tarpsvo (37 commits)")[![KasparRosin](https://avatars.githubusercontent.com/u/33309407?v=4)](https://github.com/KasparRosin "KasparRosin (8 commits)")[![marttinnotta](https://avatars.githubusercontent.com/u/7058209?v=4)](https://github.com/marttinnotta "marttinnotta (2 commits)")[![liorocks](https://avatars.githubusercontent.com/u/534610?v=4)](https://github.com/liorocks "liorocks (1 commits)")[![richard-raadi](https://avatars.githubusercontent.com/u/69033947?v=4)](https://github.com/richard-raadi "richard-raadi (1 commits)")

---

Tags

laravel-novalaravelmanagerlocalenovaoutl1ne

### Embed Badge

![Health badge](/badges/outl1ne-nova-locale-manager/health.svg)

```
[![Health](https://phpackages.com/badges/outl1ne-nova-locale-manager/health.svg)](https://phpackages.com/packages/outl1ne-nova-locale-manager)
```

###  Alternatives

[optimistdigital/nova-locale-manager

Laravel Nova tool to manage locales.

167.0k](/packages/optimistdigital-nova-locale-manager)[outl1ne/nova-translations-loader

This Laravel Nova package helps developers load translations into their packages.

395.1M42](/packages/outl1ne-nova-translations-loader)[optimistdigital/nova-translations-loader

This Laravel Nova package helps developers load translations into their packages.

393.7M10](/packages/optimistdigital-nova-translations-loader)[spatie/nova-translatable

Making Nova fields translatable

2231.5M1](/packages/spatie-nova-translatable)[outl1ne/nova-translatable

A laravel-translatable extension for Laravel Nova.

203416.9k8](/packages/outl1ne-nova-translatable)[sbine/route-viewer

A Laravel Nova tool to view your registered routes.

57215.9k](/packages/sbine-route-viewer)

PHPackages © 2026

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