定制 signifly/nova-progressbar-card 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

signifly/nova-progressbar-card

最新稳定版本:v0.2.1

Composer 安装命令:

composer require signifly/nova-progressbar-card

包简介

A Laravel Nova card with a progress bar

README 文档

README

Latest Version on Packagist Total Downloads License

This package allows you to add progressbar cards to your resources and dashboards in Nova.

Example

DISCLAIMER:

This package is still work in progress. Feel free to help improve it.

Requirements

Installation

Just run:

composer require signifly/nova-progressbar-card

After this the setup will be complete and you can use the components listed here.

Basic Usage

// in App\Nova\Product ... use Signifly\Nova\Cards\ProgressBar\ProgressBar; ... /** * Get the cards available for the request. * * @param \Illuminate\Http\Request $request * @return array */ public function cards(Request $request) { return [ (new ProgressBar)->options(['title' => 'Translations', 'percentage' => 0.5]); ]; }

Advanced Options

Custom color

public function cards(Request $request) { return [ (new ProgressBar)->options([ 'title' => 'Translations', 'percentage' => 0.5, 'color' => '#123456', ]); ]; }

Animate Bar Color A -> B

public function cards(Request $request) { return [ (new ProgressBar)->options([ 'title' => 'Translations', 'percentage' => 0.5, 'colorFrom' => '#aaa', 'colorTo' => '#bbb', 'animateColor' => true, ]); ]; }

Stroke Width

public function cards(Request $request) { return [ (new ProgressBar)->options([ 'title' => 'Translations', 'percentage' => 0.5, 'strokeWidth' => 8, ]); ]; }

Semi Circle Type Progress Bar

public function cards(Request $request) { return [ (new ProgressBar)->options([ 'title' => 'Translations', 'percentage' => 0.5, 'type' => 'semi-circle', ]); ]; }

Feel free to come with suggestions for improvements.

统计信息

  • 总下载量: 16.83k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 4
  • Forks: 0
  • 开发语言: Vue

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固