PHPackages                             think.studio/nova-has-many-on-index - 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. [Admin Panels](/categories/admin)
4. /
5. think.studio/nova-has-many-on-index

ActiveLibrary[Admin Panels](/categories/admin)

think.studio/nova-has-many-on-index
===================================

A Laravel Nova field used to display a 'Has Many' relationship on the index screen.

1.1.0(2y ago)1211MITPHPPHP ^8.1

Since May 31Pushed 2y ago1 watchersCompare

[ Source](https://github.com/dev-think-one/nova-has-many-on-index)[ Packagist](https://packagist.org/packages/think.studio/nova-has-many-on-index)[ Docs](https://github.com/dev-think-one/nova-has-many-on-index)[ RSS](/packages/thinkstudio-nova-has-many-on-index/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (6)Versions (3)Used By (0)

Laravel Nova 'Has Many' on index
================================

[](#laravel-nova-has-many-on-index)

[![Packagist License](https://camo.githubusercontent.com/a222f84c8a30be3cc8aea6dd476ce9aab1f96071ae43579ed81dbac3221a6d9c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7468696e6b2e73747564696f2f6e6f76612d6861732d6d616e792d6f6e2d696e6465783f636f6c6f723d253233346463373166)](https://camo.githubusercontent.com/a222f84c8a30be3cc8aea6dd476ce9aab1f96071ae43579ed81dbac3221a6d9c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7468696e6b2e73747564696f2f6e6f76612d6861732d6d616e792d6f6e2d696e6465783f636f6c6f723d253233346463373166)[![Packagist Version](https://camo.githubusercontent.com/384594e78e5a97c0bb5678ae86cf7e8562699ccaa4f47180d9a482abbfe10ad6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7468696e6b2e73747564696f2f6e6f76612d6861732d6d616e792d6f6e2d696e646578)](https://packagist.org/packages/think.studio/nova-has-many-on-index)[![Total Downloads](https://camo.githubusercontent.com/5bd195e27799c8be71ded94561b7840c4871a10391ad87ab3a63fbd77b8c4c81/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7468696e6b2e73747564696f2f6e6f76612d6861732d6d616e792d6f6e2d696e646578)](https://packagist.org/packages/think.studio/nova-has-many-on-index)[![Build Status](https://camo.githubusercontent.com/67c4bcec6e67d852fdcd52cf161bf4547067249bfa5c125915cd25d1b64a175e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6465762d7468696e6b2d6f6e652f6e6f76612d6861732d6d616e792d6f6e2d696e6465782f6261646765732f6275696c642e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/dev-think-one/nova-has-many-on-index/build-status/main)[![Code Coverage](https://camo.githubusercontent.com/b0f12031a80a61df858d0f2f42eb1465d2fd14560e4077a82740a76fd4a42fd2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6465762d7468696e6b2d6f6e652f6e6f76612d6861732d6d616e792d6f6e2d696e6465782f6261646765732f636f7665726167652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/dev-think-one/nova-has-many-on-index/?branch=main)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/b1bd86b56fcc347cbf6a3faf2958530909680969ea8059bfc650496977a6b9c5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6465762d7468696e6b2d6f6e652f6e6f76612d6861732d6d616e792d6f6e2d696e6465782f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/dev-think-one/nova-has-many-on-index/?branch=main)

A Laravel Nova field used to display a 'Has Many' relationship on the index screen.
*Very focused package for display quantity and list. May slow down the display of the index page*

Installation
------------

[](#installation)

```
composer require think.studio/nova-has-many-on-index
```

[![](./assets/images/has-many-on-index.gif)](./assets/images/has-many-on-index.gif)

Usage
-----

[](#usage)

```
\NovaHasManyIndex\NovaHasManyOnIndex::make(trans('cols-computed.subscriptions'), 'subscriptions_count')
        ->displayUsing(function ($val, $model) {
            return [
                'val'          => $val,
                'items'        => $model->subscriptions->map(function ($item) {
                    return [
                        'url'    => route('nova.pages.detail', [
                            'resource' => Contact::uriKey(),
                            'resourceId' => $item->getKey(),
                        ]),
                        'title' => "({$item->getKey()}) $item->name",
                        'icon' => [
                            'type' => 'trash',
                            'solid' => true,
                            'class' => 'text-red-500',
                        ],
                    ];
                })->all(),
            ];
        })
        ->sortable(),
```

Credits
-------

[](#credits)

- [![Think Studio](https://camo.githubusercontent.com/8e541bece07d503c85a126b5294865faa00e27371048772f566a0cce8c01fd3a/68747470733a2f2f7961726f736c617777772e6769746875622e696f2f696d616765732f73706f6e736f72732f7061636b616765732f6c6f676f2d7468696e6b2d73747564696f2e706e67)](https://think.studio/)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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

Every ~825 days

Total

2

Last Release

982d ago

PHP version history (2 changes)1.0.0PHP &gt;=7.4

1.1.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/53f93fa87d58f33d106de6bd5e2946f8a345ebfaee146360746056cb134a15a0?d=identicon)[think.studio](/maintainers/think.studio)

---

Top Contributors

[![yaroslawww](https://avatars.githubusercontent.com/u/23663794?v=4)](https://github.com/yaroslawww "yaroslawww (7 commits)")

---

Tags

laravelhas-manynova-field

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/thinkstudio-nova-has-many-on-index/health.svg)

```
[![Health](https://phpackages.com/badges/thinkstudio-nova-has-many-on-index/health.svg)](https://phpackages.com/packages/thinkstudio-nova-has-many-on-index)
```

###  Alternatives

[khalin/nova-link-field

A Laravel Nova Link field.

31562.2k2](/packages/khalin-nova-link-field)[digital-creative/nova-dashboard

The missing dashboard for nova.

7169.3k1](/packages/digital-creative-nova-dashboard)[marianvlad/nova-ssl-card

A Laravel Nova card for SSL certificates.

1219.9k](/packages/marianvlad-nova-ssl-card)

PHPackages © 2026

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