PHPackages                             nalingia/nova-total-records-metric - 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. nalingia/nova-total-records-metric

ActiveLibrary[Admin Panels](/categories/admin)

nalingia/nova-total-records-metric
==================================

A Laravel Nova card.

1.0.1(6y ago)19.5k1[1 issues](https://github.com/nalingia/nova-total-records-metric/issues)MITVuePHP &gt;=7.1.0

Since Apr 25Pushed 6y ago1 watchersCompare

[ Source](https://github.com/nalingia/nova-total-records-metric)[ Packagist](https://packagist.org/packages/nalingia/nova-total-records-metric)[ RSS](/packages/nalingia-nova-total-records-metric/feed)WikiDiscussions master Synced 3d ago

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

Nova Total Records Metric
=========================

[](#nova-total-records-metric)

This package provides a metric to show how many records exist for a model.

[![Latest Version on Packagist](https://camo.githubusercontent.com/a38d5e90a46a427dc2c80ed6352213ffa77114cd46bc9aed7a57441017180e4d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e616c696e6769612f6e6f76612d746f74616c2d7265636f7264732d6d6574726963)](https://packagist.org/packages/nalingia/nova-total-records-metric)[![License](https://camo.githubusercontent.com/a96a81cc7590d2f90d8e9bdb478b71a4e01a2c824e2e8004462fb928c385c267/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6e616c696e6769612f6e6f76612d746f74616c2d7265636f7264732d6d6574726963)](https://camo.githubusercontent.com/a96a81cc7590d2f90d8e9bdb478b71a4e01a2c824e2e8004462fb928c385c267/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6e616c696e6769612f6e6f76612d746f74616c2d7265636f7264732d6d6574726963)

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

[](#installation)

```
composer require nalingia/nova-total-records-metric
```

Usage
-----

[](#usage)

Use the trait `HasTotal` in your metric class and use the `total` method.

```
use Nalingia\TotalRecords\HasTotal;

class TotalUsers extends Value
{

    use HasTotal;

    /**
     * Calculate the value of the metric.
     *
     * @param  \Laravel\Nova\Http\Requests\NovaRequest  $request
     * @return mixed
     */
    public function calculate(NovaRequest $request)
    {
        return $this->total($request, User::class);
    }
}
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity24

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

Every ~0 days

Total

2

Last Release

2209d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ae894ebbe17779314fc127a764d2148a02e41247cff0963fe97110277db83fa2?d=identicon)[nalingia](/maintainers/nalingia)

---

Top Contributors

[![nalingia](https://avatars.githubusercontent.com/u/5793125?v=4)](https://github.com/nalingia "nalingia (2 commits)")

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/nalingia-nova-total-records-metric/health.svg)

```
[![Health](https://phpackages.com/badges/nalingia-nova-total-records-metric/health.svg)](https://phpackages.com/packages/nalingia-nova-total-records-metric)
```

###  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)[harrald/nova-combobox-filter

A Laravel Nova combobox filter. Supports selecting multiple items

13105.5k](/packages/harrald-nova-combobox-filter)[marianvlad/nova-ssl-card

A Laravel Nova card for SSL certificates.

1219.9k](/packages/marianvlad-nova-ssl-card)[shuvroroy/nova-dynamic-views

A tool for easier overwriting custom-header and toolbars in Laravel Nova

1025.7k](/packages/shuvroroy-nova-dynamic-views)

PHPackages © 2026

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