justbetter/laravel-nova-links 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

justbetter/laravel-nova-links

最新稳定版本:4.5.0

Composer 安装命令:

composer require justbetter/laravel-nova-links

包简介

Easily add a links section to your Laravel Nova application

README 文档

README

Package banner

Laravel Nova Links

Gives you access to easily add (external) links into Laravel Nova's menu.

Versioning

Our major version corresponds to the major Nova version.

Package version Nova version
^4.0 ^4.0
^1.0 ^4.0

Installation

You can install the package via composer.

composer require justbetter/laravel-nova-links

Usage

Update your NovaServiceProvider to register the tool. Here you will be able to customize the name, icon and the links.

<?php

use JustBetter\NovaLinks\LinksTool;

public function tools(): array
{
    return [
        LinksTool::make(__('Links'), 'link', [
            // Pass a simple string for the url
            __('Job Queue') => url('/horizon'),

            // Or you can pass a Nova MenuItem for more flexibility
            __('Job Queue') => MenuItem::make(__('Job Queue'))
                ->openInNewTab()
                ->external()
                ->path(url('/horizon')),
        ]),
    ];
}

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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

Package footer

统计信息

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

GitHub 信息

  • Stars: 12
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-07-28