PHPackages                             sashalenz/has-many-count - 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. sashalenz/has-many-count

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

sashalenz/has-many-count
========================

A Laravel Nova Count Relation field.

2.0.3(8mo ago)1704MITPHPPHP ^8.4

Since Oct 27Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/sashalenz/has-many-count)[ Packagist](https://packagist.org/packages/sashalenz/has-many-count)[ Docs](https://github.com/sashalenz/has-many-count)[ RSS](/packages/sashalenz-has-many-count/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (10)Used By (0)

has-many-count
==============

[](#has-many-count)

Laravel Nova HasMany Count Field

Requirements
------------

[](#requirements)

This Nova field requires Nova 2.

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

[](#installation)

```
composer require sashalenz/has-many-count
```

Usage
-----

[](#usage)

```
use Sashalenz\HasManyCount\HasManyCount;

HasManyCount::make(__('Posts'), 'posts'),
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

45

—

FairBetter than 92% of packages

Maintenance59

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

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

Recently: every ~533 days

Total

6

Last Release

262d ago

Major Versions

1.0.1 → 2.0.02025-08-27

PHP version history (3 changes)1.0.0PHP &gt;=7.1.0

2.0.0PHP &gt;8.0

2.0.1PHP ^8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13202688?v=4)[Oleksandr Petrovskyi](/maintainers/sashalenz)[@sashalenz](https://github.com/sashalenz)

---

Top Contributors

[![sashalenz](https://avatars.githubusercontent.com/u/13202688?v=4)](https://github.com/sashalenz "sashalenz (10 commits)")

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/sashalenz-has-many-count/health.svg)

```
[![Health](https://phpackages.com/badges/sashalenz-has-many-count/health.svg)](https://phpackages.com/packages/sashalenz-has-many-count)
```

###  Alternatives

[optimistdigital/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2872.1M6](/packages/optimistdigital-nova-sortable)[outl1ne/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2861.8M9](/packages/outl1ne-nova-sortable)[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)[sbine/route-viewer

A Laravel Nova tool to view your registered routes.

57215.9k](/packages/sbine-route-viewer)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

14720.0k](/packages/markwalet-nova-modal-response)

PHPackages © 2026

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