承接 lifeonscreen/nova-belongs-to-badge 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

lifeonscreen/nova-belongs-to-badge

Composer 安装命令:

composer require lifeonscreen/nova-belongs-to-badge

包简介

A Laravel Nova belongs to badge field.

README 文档

README

Simple Laravel Nova BelongTo Badge field. It extends the BelongsTo fields and displays badge on Index and Details page.

Details page

Example of badge in detail page:

Badge on detail page

Index page

Example of badge in index page:

Badge on index page

Installation

Via Composer

$ composer require lifeonscreen/nova-belongs-to-badge

To create migrations witch adds colors to your tables you can run:

$ php artisan make:migration:add-badge-colors {tableName}

Usage

Add this to Field list:

BelongsToBadge::make('Status', 'status', Status::class),

Field will read colors from badgeBackgroundColor and badgeForegroundColor attribute.

Security

If you discover any security-related issues, please email the author instead of using the issue tracker.

Credits

License

MIT license. Please see the license file for more information.

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 3
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-09-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固