Laravel Nova icon Nova Packages

Readme

Laravel Nova Future Trend

Latest Version on Packagist Total Downloads GitHub Actions

Laravel Nova includes a way to generate Trend metrics and display values over time via a line chart. It doesn't, however, offer a way to generate graphs for the future, starting from the current date. This package allows you to generate graphs for the near future.

Installation

You can install the package via composer:

composer require chrysanthos/laravel-nova-future-trend

Usage

php artisan nova:trend ScheduledMessagesTrend

Extend the FutureTrend class instead of Nova's default Trend class.

- use Laravel\Nova\Metrics\Trend;
- class FutureMessagesTrend extends Trend

+ use Chrysanthos\LaravelNovaFutureTrend\FutureTrend;
+ class FutureMessagesTrend extends FutureTrend

Example image

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email me@chrysanthos.xyz instead of using the issue tracker.

Credits

Licence

This package is Treeware. If you use it in production, then we ask that you buy the world a tree to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.

Back to Top
Added 2 years ago
Last updated 10 Months Ago
Version 1.1.2
Nova Version ^4.24
Composer
chrysanthos/laravel-nova-future-trend
GitHub stars 7
Packagist downloads 5,955

Favorites

0 users favorited

Rating

0.00
(out of 5)
★★★★★
★★★★
★★★
★★
0 ratings

Tags

Brought to you by Tighten

Issues/Feature Requests Stats Package Ideas