PHPackages                             ofcold/nova-configurations-field - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ofcold/nova-configurations-field

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ofcold/nova-configurations-field
================================

A Laravel Nova field.

1.0.1(7y ago)676↓100%1[1 issues](https://github.com/ofcold/nova-configuration-field/issues)MITPHPPHP &gt;=7.1.0

Since Dec 26Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ofcold/nova-configuration-field)[ Packagist](https://packagist.org/packages/ofcold/nova-configurations-field)[ RSS](/packages/ofcold-nova-configurations-field/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

nova-configuration-field
========================

[](#nova-configuration-field)

Dynamically create configuration items for your resources.

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

[](#requirements)

Laravel Nova.

Installation
============

[](#installation)

First install the Nova package via composer:

```
composer require ofcold/nova-configurations-field
```

Publish the config file:

```
php artisan vendor:publish --provider="Ofcold\\Configurations\\FieldServiceProvider"
```

Then run the migration

```
php artisan migrate
```

Usage
=====

[](#usage)

Add configuration item cache key in your `.env` File

```
OFCOLD_CONFIGURATION_KEY=config
```

Configure different resources

```
use Ofcold\Configurations\Configurations;

/**
 * Get the fields displayed by the resource.
 *
 * @param  \Illuminate\Http\Request  $request
 * @return array
 */
public function fields(Request $request)
{
    return [
        ID::make()->sortable(),
        Configurations::make('Configurations')
            ->setConfigurations([
                Text::make('foo'),
                Text::make('bar')
            ], 'example')
    ];
}
```

Get configuration item from scope

```
use Ofcold\Configurations\Repository;

Repository::scopeItems($scope)
```

Get a single configuration

```
use Ofcold\Configurations\Repository;
// Use scope and key
// Example: example::foo
Repository::get('example::foo')
```

Get a single configuration value

```
use Ofcold\Configurations\Repository;
// Use scope and key
// Example: example::foo
Repository::getValue('example::foo')
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

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

2

Last Release

2695d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7c52a844b37ff37e8fa6d7bf4b482d8ff4ef15e250098d1f60bd19041d953834?d=identicon)[billwithjiali](/maintainers/billwithjiali)

---

Top Contributors

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

---

Tags

configlaravellaravel-novalaravelnova

### Embed Badge

![Health badge](/badges/ofcold-nova-configurations-field/health.svg)

```
[![Health](https://phpackages.com/badges/ofcold-nova-configurations-field/health.svg)](https://phpackages.com/packages/ofcold-nova-configurations-field)
```

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M7](/packages/optimistdigital-nova-multiselect-field)[digital-creative/conditional-container

Provides an easy way to conditionally show and hide fields in your Nova resources.

116593.8k4](/packages/digital-creative-conditional-container)[genealabs/laravel-overridable-model

Provide a uniform method of allowing models to be overridden in Laravel.

92398.0k2](/packages/genealabs-laravel-overridable-model)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

51174.8k1](/packages/inspheric-nova-defaultable)[murdercode/nova4-tinymce-editor

Boost your Laravel Nova with the TinyMCE editor.

17165.2k](/packages/murdercode-nova4-tinymce-editor)[yieldstudio/nova-google-autocomplete

A Laravel Nova Google autocomplete field.

12218.4k](/packages/yieldstudio-nova-google-autocomplete)

PHPackages © 2026

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