PHPackages                             lathanhvien/custom-belongs-to-many-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. lathanhvien/custom-belongs-to-many-field

ActiveLibrary

lathanhvien/custom-belongs-to-many-field
========================================

belongsToMany nova representation in field.

v1.0.0(6y ago)026.9k—8%1MITPHPPHP &gt;=7.1.0

Since Nov 7Pushed 6y ago1 watchersCompare

[ Source](https://github.com/lathanhvien/custom-belongs-to-many-field)[ Packagist](https://packagist.org/packages/lathanhvien/custom-belongs-to-many-field)[ RSS](/packages/lathanhvien-custom-belongs-to-many-field/feed)WikiDiscussions master Synced 1mo ago

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

custom-belongs-to-many-field v1.0.0
===================================

[](#custom-belongs-to-many-field-v100)

### Installation

[](#installation)

```
$ composer require lathanhvien/custom-belongs-to-many-field
```

### Usage

[](#usage)

This package extend from Benjacho/belongs-to-many-field-nova package, check it to know all support functions.
I add more function `optionsShow($array)` to show columns of $array on Index and Detail page. Use it like follow:

```
use Pifpif\CustomBelongsToManyField\CustomBelongsToManyField;

CustomBelongsToManyField::make('Athletes', 'athletes', 'App\Nova\Athlete')
    ->optionsLabel('first_name')
    ->optionsShow(['first_name','last_name'])
```

### Support

[](#support)

If you have any ideas about this package, feel free to contact me at gmail:  or skype: xprotoprotox

### License

[](#license)

This package is available under the [MIT](https://opensource.org/licenses/mit-license.php) license.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

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

Unknown

Total

1

Last Release

2385d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/90e615a9308fbbbc1e4c35a57c1661f62c6c56371a4543844785749032a85b4a?d=identicon)[lathanhvien](/maintainers/lathanhvien)

---

Top Contributors

[![dragonhai](https://avatars.githubusercontent.com/u/16344762?v=4)](https://github.com/dragonhai "dragonhai (1 commits)")

---

Tags

laravelnovabelongsToManyMany to Many Field

### Embed Badge

![Health badge](/badges/lathanhvien-custom-belongs-to-many-field/health.svg)

```
[![Health](https://phpackages.com/badges/lathanhvien-custom-belongs-to-many-field/health.svg)](https://phpackages.com/packages/lathanhvien-custom-belongs-to-many-field)
```

###  Alternatives

[benjacho/belongs-to-many-field

belongsToMany nova representation in field.

158811.4k1](/packages/benjacho-belongs-to-many-field)[inspheric/nova-defaultable

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

51174.8k1](/packages/inspheric-nova-defaultable)[cybercog/laravel-nova-ban

A Laravel Nova banning functionality for your application.

40199.8k](/packages/cybercog-laravel-nova-ban)[datomatic/nova-detached-actions

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

11229.2k](/packages/datomatic-nova-detached-actions)[padocia/laravel-nova-pdf

Generate Pdf from nova resources

2326.5k](/packages/padocia-laravel-nova-pdf)

PHPackages © 2026

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