marshmallow/simple-value-metric
最新稳定版本:v2.1.0
Composer 安装命令:
composer require marshmallow/simple-value-metric
包简介
A Laravel Nova card.
README 文档
README
This is a package to create a simple metric card.
Installation
composer require marshmallow/simple-value-metric
Usage
You can add this metric by adding the code like below to your cards method.
// ... protected function cards() { (new SimpleValueMetric) ->title('Scored quotations') ->calculate( function ($simple_value) { return $simple_value->formattedValue(72) ->footer( '99% of the quotations are orders!' ); } )->help('72 of a total of 73 quotations are now orders :)'), // ... }
Security
If you discover any security related issues, please email stef@marshmallow.dev instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 11.36k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-09-23
