PHPackages                             izi-dev/nova-key-value-suggestion-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. izi-dev/nova-key-value-suggestion-field

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

izi-dev/nova-key-value-suggestion-field
=======================================

A Laravel Nova field.

1.0.2(5y ago)921.7k↑100%1[1 PRs](https://github.com/izi-dev/nova-key-value-suggestion-field/pulls)MITVuePHP ^7.2.5

Since May 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/izi-dev/nova-key-value-suggestion-field)[ Packagist](https://packagist.org/packages/izi-dev/nova-key-value-suggestion-field)[ RSS](/packages/izi-dev-nova-key-value-suggestion-field/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Nova Field Conditional
======================

[](#nova-field-conditional)

### Demo

[](#demo)

[![Demo](https://raw.githubusercontent.com/izi-dev/nova-key-value-suggestion-field/master/demo/demo.gif)](https://raw.githubusercontent.com/izi-dev/nova-key-value-suggestion-field/master/demo/demo.gif)

### Installation

[](#installation)

The package can be installed through Composer.

```
composer require izi-dev/nova-key-value-suggestion-field
```

### Usage

[](#usage)

```
class Page extends Resource
{

    public function fields(Request $request)
    {
        return [

            \IziDev\KeyValueSuggestion\KeyValueSuggestion::make('Validation')
                ->suggestion([
                    'required',
                    'int',
                    'Alpha Numeric',
                    'Array'
                ])
                ->max(10) //default 5
                ->length(3) //default 3
        ];
    }
}
```

### Advanced

[](#advanced)

```
class Page extends Resource
{

    public function fields(Request $request)
    {
        return [

            \IziDev\KeyValueSuggestion\KeyValueSuggestion::make('Validation')
                ->suggestion([
                    [
                        "title" => "Accepted",
                        "id" => "accepted",
                        "description" => "The field under validation must be yes, on, 1, or true. This is useful for validating \"Terms of Service\" acceptance."
                    ],
                    [
                        "title" => "Active URL",
                        "id" => "active_url",
                        "description" => "The field under validation must have a valid A or AAAA record according to the dns_get_record PHP function. The hostname of the provided URL is extracted using the parse_url PHP function before being passed to dns_get_record."
                    ],
                    [
                        "title" => "After (Date)",
                        "id" => "after",
                        "description" => "The field under validation must be a value after a given date."
                    ],
                    [
                        "title" => "After Or Equal (Date)",
                        "id" => "after_or_equal",
                        "description" => "The field under validation must be a value after or equal to the given date. For more information, see the after rule."
                    ],
                    [
                        "title" => "Alpha",
                        "id" => "alpha",
                        "description" => "The field under validation must be entirely alphabetic characters."
                    ],
                    [
                        "title" => "Alpha Dash",
                        "id" => "alpha_dash",
                        "description" => "The field under validation may have alpha-numeric characters, as well as dashes and underscores."
                    ],
                    [
                        "title" => "Alpha Numeric",
                        "id" => "alpha_num",
                        "description" => "The field under validation may have alpha-numeric characters, as well as dashes and underscores."
                    ],
                    [
                        "title" => "Array",
                        "id" => "array",
                        "description" => "The field under validation must be a PHP array."
                    ],
                    [
                        "title" => "Bail",
                        "id" => "bail",
                        "description" => "Stop running validation rules after the first validation failure."
                    ],
                    [
                        "title" => "Required",
                        "id" => "required",
                        "description" => "The field under validation must be present in the input data and not empty."
                    ])
                ->display("title", "id", "description") //string $title,string $showInput, string $description = null
        ];
    }
}
```

### License

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/epartment/nova-dependency-container/blob/master/LICENSE.md) for more information.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

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 ~11 days

Total

2

Last Release

2182d ago

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

1.0.2PHP ^7.2.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d2256fe295b0c4e709fdf377bd240cdda298f7188ed8b8a4c43a6ea5bcb1c3c?d=identicon)[izi-dev](/maintainers/izi-dev)

---

Top Contributors

[![izi-dev](https://avatars.githubusercontent.com/u/10887226?v=4)](https://github.com/izi-dev "izi-dev (8 commits)")

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/izi-dev-nova-key-value-suggestion-field/health.svg)

```
[![Health](https://phpackages.com/badges/izi-dev-nova-key-value-suggestion-field/health.svg)](https://phpackages.com/packages/izi-dev-nova-key-value-suggestion-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)
