承接 fidum/laravel-nova-vapor-ui-link 相关项目开发

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

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

fidum/laravel-nova-vapor-ui-link

最新稳定版本:1.0.2

Composer 安装命令:

composer require fidum/laravel-nova-vapor-ui-link

包简介

Link for Laravel Nova to Vapor UI Dashboard.

README 文档

README

Latest Version on Packagist Twitter Follow

Adds link to the Laravel Vapor UI Dashboard in the Laravel Nova sidebar.

Link automatically hidden if current user hasn't access to the Vapor UI Dashboard based on the viewVaporUI gate defined in your App\Providers\VaporUiServiceProvider::gate method. In order to be consistent with Vapor UI it will always show on local and testing environments. For more information, checkout the documentation.

Nova Vapor UI Link Demo

Installation

At first, install via composer:

composer require fidum/laravel-nova-vapor-ui-link

Next up, register the link in the tools method of the NovaServiceProvider:

// app/Providers/NovaServiceProvider.php

// ...

public function tools()
{
    return [
        new \Fidum\NovaVaporUILink\VaporUILink,
    ];
}

Customization

By default, link label is - Vapor UI, if you prefer to customize it, just pass new label text into constructor:

// app/Providers/NovaServiceProvider.php

public function tools()
{
    return [
        new \Fidum\NovaVaporUILink\VaporUILink('Custom Label'),

        // or
        \Fidum\NovaVaporUILink\VaporUILink::make('Custom Label')
    ];
}

If you need to customize link target attribute (for example to open a page in a new tab), just pass it as second parameter into constructor. A value should be without prepended underscore _:

// app/Providers/NovaServiceProvider.php

public function tools()
{
    return [
        new \Fidum\NovaVaporUILink\VaporUILink(null, 'blank'),
        
        // or
        \Fidum\NovaVaporUILink\VaporUILink::make()->target('blank'),
    ];
}

Laravel Nova Vapor UI Link Logo

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

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

Credits

License

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

统计信息

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

GitHub 信息

  • Stars: 6
  • Watchers: 3
  • Forks: 1
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-09-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固