PHPackages                             laravelrotebal/nova-attach-many - 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. laravelrotebal/nova-attach-many

ActiveLibrary

laravelrotebal/nova-attach-many
===============================

Attach Many Nova field

2.0.0(6y ago)517.0k↓22.2%3[1 issues](https://github.com/laravelrotebal/nova-attach-many/issues)MITVuePHP &gt;=7.1.0

Since Feb 2Pushed 6y agoCompare

[ Source](https://github.com/laravelrotebal/nova-attach-many)[ Packagist](https://packagist.org/packages/laravelrotebal/nova-attach-many)[ RSS](/packages/laravelrotebal-nova-attach-many/feed)WikiDiscussions release Synced 1mo ago

READMEChangelogDependenciesVersions (16)Used By (0)

Nova Attach Many
================

[](#nova-attach-many)

[![Latest Version on Github](https://camo.githubusercontent.com/fbeaefbeb5811144769eea3a82e099290edd14285c6d476891f76f89d05b50ad/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6c61726176656c726f746562616c2f6e6f76612d6174746163682d6d616e792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravelrotebal/nova-attach-many)[![Total Downloads](https://camo.githubusercontent.com/7a65fafe938b389ecb62fee11b50eb1686ea6da3731613fbafa55bb5ca1c72b4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c61726176656c726f746562616c2f6e6f76612d6174746163682d6d616e792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravelrotebal/nova-attach-many)

Belongs To Many create &amp; edit form UI for Nova. Enables attaching relationships easily and includes validation.

[![attach-many](https://user-images.githubusercontent.com/29180903/52160651-be7fd580-2687-11e9-9ece-27332b3ce6bf.png)](https://user-images.githubusercontent.com/29180903/52160651-be7fd580-2687-11e9-9ece-27332b3ce6bf.png)

### Installation

[](#installation)

```
composer require laravelrotebal/nova-attach-many
```

### Usage

[](#usage)

```
use NovaAttachMany\AttachMany;
```

```
public function fields(Request $request)
{
    return [
        AttachMany::make('Permissions'),
    ];
}
```

### Validation

[](#validation)

You can set min, max, size or custom rule objects

```
->rules('min:5', 'max:10', 'size:10', new CustomRule)
```

[![](https://user-images.githubusercontent.com/29180903/52160802-9ee9ac80-2689-11e9-9657-80e3c0d83b27.png)](https://user-images.githubusercontent.com/29180903/52160802-9ee9ac80-2689-11e9-9657-80e3c0d83b27.png)

### Options

[](#options)

Here are a few customization options

- `->showCounts()` Shows "selected/total"
- `->showPreview()` Shows only selected
- `->hideToolbar()` Removes search &amp; select all
- `->height('500px')` Set custom height
- `->fullWidth()` Set to full width
- `->help('Tip: help text')` Set the help text

### All Options Demo

[](#all-options-demo)

[![](https://user-images.githubusercontent.com/29180903/53781117-6978ee80-3ed5-11e9-8da4-d2f2408f1ffb.png)](https://user-images.githubusercontent.com/29180903/53781117-6978ee80-3ed5-11e9-8da4-d2f2408f1ffb.png)

### Relatable

[](#relatable)

The attachable resources will be filtered by relatableQuery() So you can filter which resources are able to be attached

### Authorization

[](#authorization)

This field also respects policies: ie Role / Permission

- RolePolicy: attachAnyPermission($user, $role)
- RolePolicy: attachPermission($user, $role, $permission)
- PermissionPolicy: viewAny($user)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Recently: every ~38 days

Total

14

Last Release

2470d ago

Major Versions

1.0.11 → 42.x-dev2019-08-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/8ff2d2f1dc0fcd0e538b0045194a000d96324513f603188aa64dec8800ea03e6?d=identicon)[laravelrotebal](/maintainers/laravelrotebal)

![](https://avatars.githubusercontent.com/u/38257723?v=4)[Krot Eval](/maintainers/4n70w4)[@4n70w4](https://github.com/4n70w4)

---

Top Contributors

[![4n70w4](https://avatars.githubusercontent.com/u/38257723?v=4)](https://github.com/4n70w4 "4n70w4 (6 commits)")[![ahmedkandel](https://avatars.githubusercontent.com/u/28398523?v=4)](https://github.com/ahmedkandel "ahmedkandel (4 commits)")[![niladam](https://avatars.githubusercontent.com/u/4151765?v=4)](https://github.com/niladam "niladam (3 commits)")[![mziraki](https://avatars.githubusercontent.com/u/6510195?v=4)](https://github.com/mziraki "mziraki (1 commits)")

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/laravelrotebal-nova-attach-many/health.svg)

```
[![Health](https://phpackages.com/badges/laravelrotebal-nova-attach-many/health.svg)](https://phpackages.com/packages/laravelrotebal-nova-attach-many)
```

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M7](/packages/optimistdigital-nova-multiselect-field)[coreproc/nova-notification-feed

A Laravel Nova package that adds a notification feed in your Nova app.

10149.1k](/packages/coreproc-nova-notification-feed)[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)[insenseanalytics/nova-server-monitor

A Laravel Nova tool for Spatie's Server Monitor library.

6546.9k](/packages/insenseanalytics-nova-server-monitor)[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)

PHPackages © 2026

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