PHPackages                             eminiarts/nova-relationship-selector - 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. eminiarts/nova-relationship-selector

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

eminiarts/nova-relationship-selector
====================================

A Laravel Nova Package to group Relationships into a Selector.

1.0.0(6y ago)2870.0k↓80.9%[2 issues](https://github.com/eminiarts/nova-relationship-selector/issues)[14 PRs](https://github.com/eminiarts/nova-relationship-selector/pulls)2MITPHPPHP &gt;=7.1.0

Since Dec 27Pushed 3y ago2 watchersCompare

[ Source](https://github.com/eminiarts/nova-relationship-selector)[ Packagist](https://packagist.org/packages/eminiarts/nova-relationship-selector)[ RSS](/packages/eminiarts-nova-relationship-selector/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)DependenciesVersions (19)Used By (2)

Nova Relationship Selector
--------------------------

[](#nova-relationship-selector)

[![Latest Version on Github](https://camo.githubusercontent.com/76f8863aa2da45f41a34b6e7c531f27f0cc8033bb925f71950266fa183c740f0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f656d696e69617274732f6e6f76612d72656c6174696f6e736869702d73656c6563746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/eminiarts/nova-relationship-selector)[![Total Downloads](https://camo.githubusercontent.com/48bde64127e7024ae3346e9f39208a17d974b48df131832f1c6e80518b589e05/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656d696e69617274732f6e6f76612d72656c6174696f6e736869702d73656c6563746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/eminiarts/nova-relationship-selector)

Display your resource's relationships with a dropdown vs endless scrolling

[![image](https://user-images.githubusercontent.com/3426944/50488260-e8e3d080-0a01-11e9-8c9e-8df945a9f6ce.png)](https://user-images.githubusercontent.com/3426944/50488260-e8e3d080-0a01-11e9-8c9e-8df945a9f6ce.png)

### Installation

[](#installation)

You can install the package in to a Laravel app that uses [Nova](https://nova.laravel.com) via composer:

```
composer require eminiarts/nova-relationship-selector
```

### Usage

[](#usage)

```
use Eminiarts\RelationshipSelector\RelationshipSelector;
```

```
public function fields()
{
    return [

        // ...

        RelationshipSelector::make('Relations')
            ->addOption('Invoices', HasMany::make('Invoices'))
            ->addOption('Notes', HasMany::make('Notes'))
            ->addOption('Contacts', HasMany::make('Contacts'))
            ->addOption('Tags', MorphToMany::make('Tags')),

        // ...

    ];
}
```

### With Select

[](#with-select)

If you want to display the Select on the right side, you can use the `->withSelect()` function.

[![image](https://user-images.githubusercontent.com/3426944/50475956-96d18980-09c6-11e9-9f02-56bdaca4ada6.png)](https://user-images.githubusercontent.com/3426944/50475956-96d18980-09c6-11e9-9f02-56bdaca4ada6.png)

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 81% 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 ~150 days

Total

4

Last Release

2294d ago

Major Versions

0.1.2 → 1.0.02020-03-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/14d759d7d1f0828acb631f6bedb98122e29d29fa67260a3eaec6d76dc023cc05?d=identicon)[bajramemini](/maintainers/bajramemini)

---

Top Contributors

[![bajramemini](https://avatars.githubusercontent.com/u/3426944?v=4)](https://github.com/bajramemini "bajramemini (17 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")

---

Tags

laravelnovalaravelnova

### Embed Badge

![Health badge](/badges/eminiarts-nova-relationship-selector/health.svg)

```
[![Health](https://phpackages.com/badges/eminiarts-nova-relationship-selector/health.svg)](https://phpackages.com/packages/eminiarts-nova-relationship-selector)
```

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

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

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

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

Boost your Laravel Nova with the TinyMCE editor.

17186.3k1](/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.

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

A Laravel Nova custom field text with masks on input

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

PHPackages © 2026

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