PHPackages                             ysfkaya/nova-dynamic-lang - 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. ysfkaya/nova-dynamic-lang

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

ysfkaya/nova-dynamic-lang
=========================

This tool is provide management the your language files by dynamical

v1.0.2(7y ago)22133[1 issues](https://github.com/ysfkaya/nova-dynamic-lang/issues)MITPHPPHP &gt;=7.1.0

Since Nov 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ysfkaya/nova-dynamic-lang)[ Packagist](https://packagist.org/packages/ysfkaya/nova-dynamic-lang)[ RSS](/packages/ysfkaya-nova-dynamic-lang/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (4)Used By (0)

Laravel Nova Dynamic Language
=============================

[](#laravel-nova-dynamic-language)

This tool is provide management the your language files by dynamical for your Nova application

[![Dashboard index page](screenshot.png)](screenshot.png)

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

[](#installation)

You can install the package into a Laravel app that uses Nova via composer:

```
composer install ysfkaya/nova-dynamic-lang
```

And you need to publish the migration and config files

```
php artisan vendor:publish --provider="Ysfkaya\NovaDynamicLang\NovaDynamicLangProvider"
```

You must register the tool with Nova

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

// ...

public function tools()
{
   return [
        // ...
        new \Ysfkaya\NovaDynamicLang\NovaDynamicLang,
    );
}
```

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

[](#configuration)

- file\_name : `frontend`

    We will create a file in your language files to save your fields.
- default\_languages\_path : `null` **only json file**

    If you want to use your languages then set path here. By default available languages will be used.

    **Example Json Data:**

    ```
    [
         {
           "label": "A language label",
           "code": "A language code"
         }
    ]
    ```

Select a store to default fields to save

##### Rules (For Store : array,json)

[](#rules-for-store--arrayjson)

First IndexSecond IndexThird IndexForm Input LabelForm Input ValueShort Code for invoke#### Array store

[](#array-store)

Array store is provides you to quickly and simply set up your fields. Only usage the simply rules you can set the fields.

```
// in config/nova-dynamic-lang.php

// ...

'array' => [
    'driver' => 'array',
    'fields' => [
        // ...
        ["Title","Title","title"],
        ["Description","Description","description"]
        // ...
    ],
],
```

#### Json store

[](#json-store)

Json store is also like an array store, but only a json file must be defined.

**Note : "fields" key is required**

```
// in config/nova-dynamic-lang.php

// ...

'json' => [
    'driver' => 'json',
    'path' =>   null // set a json file path,
],
```

In file :

```
{
    "fields":[
        ["Title","Title","title"],
        ["Description","Description","description"]
    ]
}
```

#### Database store

[](#database-store)

Database store is management your fields by dynamical. It allows you use a nova resource. But you shouldn't modify table columns in migration file

```
// in config/nova-dynamic-lang.php

// ...

'json' => [
    'driver' => 'database',
    'model' => \Ysfkaya\NovaDynamicLang\Models\LanguageSection::class // or you may use model instance of this model,
],
```

Usage
-----

[](#usage)

You can use `@lang` blade directive to display text by your app language

```
@lang('frontend.hello')
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.9% 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

3

Last Release

2734d ago

### Community

Maintainers

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

---

Top Contributors

[![ysfkaya](https://avatars.githubusercontent.com/u/16710972?v=4)](https://github.com/ysfkaya "ysfkaya (10 commits)")[![huglester](https://avatars.githubusercontent.com/u/150731?v=4)](https://github.com/huglester "huglester (1 commits)")

---

Tags

languagelaravelnovalaravellanguagesnovanova-tool

### Embed Badge

![Health badge](/badges/ysfkaya-nova-dynamic-lang/health.svg)

```
[![Health](https://phpackages.com/badges/ysfkaya-nova-dynamic-lang/health.svg)](https://phpackages.com/packages/ysfkaya-nova-dynamic-lang)
```

###  Alternatives

[laravel-lang/lang

List of 126 languages for Laravel Framework, Laravel Jetstream, Laravel Fortify, Laravel Breeze, Laravel Cashier, Laravel Nova, Laravel Spark and Laravel UI

7.8k9.5M40](/packages/laravel-lang-lang)[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)[outl1ne/nova-translations-loader

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

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

A Laravel Nova tool.

1411.9k](/packages/optimistdigital-nova-lang)[optimistdigital/nova-locale-manager

Laravel Nova tool to manage locales.

167.0k](/packages/optimistdigital-nova-locale-manager)

PHPackages © 2026

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