定制 carloscgo/nova-categorise-resources 二次开发

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

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

carloscgo/nova-categorise-resources

Composer 安装命令:

composer require carloscgo/nova-categorise-resources

包简介

Group and categorise your nova resources

README 文档

README

This is now covered in Nova 1.0.18+ so does not need a package for it:

public static $group = 'name'; // you may also use a public static method of the same name

You may continue to use this package if you want to be able to collapse the groups, however I'd recommend going with the core features of Nova.

Group and categorise your nova resources

Latest Version on Packagist Quality Score Total Downloads

A nova resource can be given a category name.

If a category name is provided, then that will act as a label.

The label will be standardised, so any changes in capitalisation will be removed and it will be converted into Title case.

For example:

"Customers Information", "customers information" and "cUStoMERs INFORMATION"

all become "Customers Information"

If the category is left empty, then all empty resources will get grouped together.

If there is only one category, it will not be collapsable, but will instead have a label above it all

if there is only one category, and it is empty, then it will act as Nova does by default.

Categorise Resources Example

Installation

You can install the package in to a Laravel app that uses Nova via composer:

composer require carloscgo/nova-categorise-resources

Usage

In any / all of your resources add

public static $category = "Your Category label";

Security

If you discover any security related issues, please email bowersbros@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 14
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-11-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固