PHPackages                             nysso/laravel-nova-field-dynamic-select - 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. nysso/laravel-nova-field-dynamic-select

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

nysso/laravel-nova-field-dynamic-select
=======================================

A Laravel Nova field.

0.3.2(6y ago)97.9kMITPHPPHP &gt;=7.1.0

Since Jan 30Pushed 6y agoCompare

[ Source](https://github.com/nysso/laravel-nova-field-dynamic-select)[ Packagist](https://packagist.org/packages/nysso/laravel-nova-field-dynamic-select)[ RSS](/packages/nysso-laravel-nova-field-dynamic-select/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (4)DependenciesVersions (9)Used By (0)

Dynamic select field for Laravel Nova
=====================================

[](#dynamic-select-field-for-laravel-nova)

- Added support for Nova &gt;= 2.0.1
- This field allows you to dynamically fill contents of a select based on values in other dynamic select fields.

Package forked from

### Usage

[](#usage)

Class have 2 special methods on top of default Select from Laravel Nova. `dependsOn` can take a list of other fields this one depends on. `options` can be either an array or a callable. If its a callable, it will receive array with selected dependency values as first argument and should return an array of items to be shown on the select field.

### Example:

[](#example)

```
public function fields(Request $request)
    {
        return [

            ID::make()->sortable(),

            DynamicSelect::make('Country', 'country')
                ->options(['US' => 'United States', 'UK' => 'United Kingdom'])
                ->rules('required')
            ,

            DynamicSelect::make('Provider', 'provider')
                ->options(['PR' => 'Premium', 'ST' => 'Standard'])
                ->placeholder('choose a value')
                ->rules('required')
            ,

            DynamicSelect::make('Product', 'product')
                ->dependsOn(['country', 'provider'])
                ->options(function($values) {
                    if($values['country'] === 'UK' && $values['provider'] === 'PR') {
                        return ['A' => 'Fast shipping', 'B' => 'Normal shipping', 'C' => 'Free shipping'];
                    } else {
                        return ['A' => 'Fast shipping', 'B' => 'Normal shipping'];
                    }
                })
                ->rules('required')
            ,
        ];
    }

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

7

Last Release

2528d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13627474?v=4)[nysso](/maintainers/nysso)[@nysso](https://github.com/nysso)

---

Top Contributors

[![hubertnnn](https://avatars.githubusercontent.com/u/1189576?v=4)](https://github.com/hubertnnn "hubertnnn (14 commits)")[![nysso](https://avatars.githubusercontent.com/u/13627474?v=4)](https://github.com/nysso "nysso (14 commits)")[![BullNyss](https://avatars.githubusercontent.com/u/55026979?v=4)](https://github.com/BullNyss "BullNyss (6 commits)")

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/nysso-laravel-nova-field-dynamic-select/health.svg)

```
[![Health](https://phpackages.com/badges/nysso-laravel-nova-field-dynamic-select/health.svg)](https://phpackages.com/packages/nysso-laravel-nova-field-dynamic-select)
```

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3423.6M8](/packages/optimistdigital-nova-multiselect-field)[inspheric/nova-defaultable

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

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

Boost your Laravel Nova with the TinyMCE editor.

17178.1k1](/packages/murdercode-nova4-tinymce-editor)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11258.1k](/packages/datomatic-nova-detached-actions)[wemersonrv/input-mask

A Laravel Nova custom field text with masks on input

1197.8k](/packages/wemersonrv-input-mask)

PHPackages © 2026

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