PHPackages                             marshmallow/nova-totals-footer - 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. marshmallow/nova-totals-footer

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

marshmallow/nova-totals-footer
==============================

This Laravel Nova package is used for calculating the total of the columns that you wish to show.

1.2.0(1mo ago)24521MITVuePHP ^8.1

Since Jan 30Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/marshmallow-packages/nova-totals-footer)[ Packagist](https://packagist.org/packages/marshmallow/nova-totals-footer)[ RSS](/packages/marshmallow-nova-totals-footer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (6)Versions (4)Used By (0)

[![Version](https://camo.githubusercontent.com/c4a690f5379fff8294957d65a331ca17b60833ecd433990c49e3e50587724acf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d617273686d616c6c6f772f6e6f76612d746f74616c732d666f6f746572)](https://github.com/marshmallow-packages/nova-totals-footer)[![Issues](https://camo.githubusercontent.com/2cfe2b14f0fc1976c2d5a46010ee40dc74638b970a49a859c67cfa137b33565f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6d617273686d616c6c6f772d7061636b616765732f6e6f76612d746f74616c732d666f6f746572)](https://github.com/marshmallow-packages/nova-totals-footer)[![Licence](https://camo.githubusercontent.com/6f37156f1b5d9c6298ef4b96a4ee64495b100ba5af929b2583949fdb7055e201/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d617273686d616c6c6f772d7061636b616765732f6e6f76612d746f74616c732d666f6f746572)](https://github.com/marshmallow-packages/nova-totals-footer)

Laravel Nova Totals footer
==========================

[](#laravel-nova-totals-footer)

This [Laravel Nova](https://nova.laravel.com) package is used for calculating the total of the columns that you wish to show.

Screenshot
----------

[](#screenshot)

[![](./resources/screenshot/totals-footer-screenshot.png)](./resources/screenshot/totals-footer-screenshot.png)

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

[](#requirements)

- `php: ^8.1`
- `laravel/nova: ^5.0`

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

[](#installation)

Install via composer:

```
composer require marshmallow/nova-totals-footer
```

Usage
-----

[](#usage)

To include specific fields in the table footer, invoke their respective `calculate` methods. Within this method, specify the calculation logic to determine the desired value. By default, the available calculation methods include `sum`, `count`, `avg`, `min` and `max`. Refer to the example below for further clarification.

```
Currency::make('Revenue', 'revenue')
    ->required()

    /** 👇 This is where the magic happens */
    ->calculate(
        method: 'sum', // sum, count, avg, min and max
        title: 'Total',
        prefix: '$',
        postfix: '.00',
        hideTitle: true, // true, false (default)
        align: 'right', // left, right (default), center
        titleAlign: 'right', // left, right (default), center
    ),
```

### Hide the header off footer

[](#hide-the-header-off-footer)

This sound weird, but sometimes we needed to hide the header of the footer. We didn't need this extra footer row. Is you need to hide this, you can call the method below.

```
use Marshmallow\NovaTotalsFooter\NovaTotalsFooter;

NovaTotalsFooter::hideHeader();
```

Licence
-------

[](#licence)

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

💖 Sponsorships
--------------

[](#-sponsorships)

If you are reliant on this package in your production applications, consider [sponsoring us](https://github.com/sponsors/marshmallow-packages)! It is the best way to help us keep doing what we love to do: making great open source software.

Contributing
------------

[](#contributing)

Feel free to suggest changes, ask for new features or fix bugs yourself. We're sure there are still a lot of improvements that could be made, and we would be very happy to merge useful pull requests.

### Special thanks to

[](#special-thanks-to)

- [All Contributors](../../contributors)

Made with ❤️ for open source
----------------------------

[](#made-with-️-for-open-source)

At [Marshmallow](https://marshmallow.nl) we use a lot of open source software as part of our daily work. So when we have an opportunity to give something back, we're super excited!

We hope you will enjoy this small contribution from us and would love to [hear from you](mailto:hello@marshmallow.nl) if you find it useful in your projects. Follow us on [Twitter](https://x.com/marshmallow_dev) for more updates!

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance89

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

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

Total

3

Last Release

56d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

laravelnovamarshmallowtotals

### Embed Badge

![Health badge](/badges/marshmallow-nova-totals-footer/health.svg)

```
[![Health](https://phpackages.com/badges/marshmallow-nova-totals-footer/health.svg)](https://phpackages.com/packages/marshmallow-nova-totals-footer)
```

###  Alternatives

[genealabs/laravel-changelog

A Laravel Nova tool.

55250.7k](/packages/genealabs-laravel-changelog)[genealabs/laravel-overridable-model

Provide a uniform method of allowing models to be overridden in Laravel.

92398.0k2](/packages/genealabs-laravel-overridable-model)[advoor/nova-editor-js

A Laravel Nova field bringing EditorJs magic to Nova.

92179.0k3](/packages/advoor-nova-editor-js)[datomatic/nova-enum-field

A Laravel Nova PHP 8.1 enum field with filters

20134.2k](/packages/datomatic-nova-enum-field)[devtical/nova-qrcode-field

Nova QR code field

4560.6k2](/packages/devtical-nova-qrcode-field)

PHPackages © 2026

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