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

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

sz3jdii/nova-attach-many-ajax
=============================

Attach Many Nova AJAX field

v2.0.3(4y ago)01.1k↓50%MITVuePHP &gt;=7.1.0

Since Feb 2Pushed 4y agoCompare

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

READMEChangelog (3)DependenciesVersions (19)Used By (0)

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

[](#nova-attach-many)

[![Latest Version on Github](https://camo.githubusercontent.com/9f42c72ee81ec4f962ed3fb217ea0c65dc976ce9f99cb6475c575a044378b8a5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f737a336a6469692f6e6f76612d6174746163682d6d616e792d616a61782e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sz3jdii/nova-attach-many-ajax)[![Total Downloads](https://camo.githubusercontent.com/52988c2db83fbf69a7d05dc06329f0ba8aa1406244c670d9a6210e274ed1fd42/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f737a336a6469692f6e6f76612d6174746163682d6d616e792d616a61782e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sz3jdii/nova-attach-many-ajax)

Belongs To Many Ajax 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 sz3jdii/nova-attach-many-ajax
```

### 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

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

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

Recently: every ~212 days

Total

17

Last Release

1623d ago

Major Versions

1.0.11 → 42.x-dev2019-08-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/29cba8584a545f5cbb7a7d100d3b5bcc45a87c690f48c00474a6334e42f1c0d1?d=identicon)[sz3jdii](/maintainers/sz3jdii)

---

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/sz3jdii-nova-attach-many-ajax/health.svg)

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

###  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)
