Download the PHP package marshmallow/nova-totals-footer without Composer
On this page you can find all versions of the php package marshmallow/nova-totals-footer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download marshmallow/nova-totals-footer
More information about marshmallow/nova-totals-footer
Files in marshmallow/nova-totals-footer
Package nova-totals-footer
Short Description This Laravel Nova package is used for calculating the total of the columns that you wish to show.
License MIT
Informations about the package nova-totals-footer
Laravel Nova Totals footer
This Laravel Nova package is used for calculating the total of the columns that you wish to show.
Screenshot
Requirements
php: ^8.1
laravel/nova: ^5.0
Installation
Install via composer:
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.
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.
Licence
The MIT License (MIT). Please see License File for more information.
💖 Sponsorships
If you are reliant on this package in your production applications, consider sponsoring us! It is the best way to help us keep doing what we love to do: making great open source software.
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
- All Contributors
Made with ❤️ for open source
At Marshmallow 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 Twitter for more updates!