kortdev/menu-linker

Menu linker for Laravel Nova to other tools

v0.0.8 2020-09-14 15:40 UTC

This package is auto-updated.

Last update: 2024-04-14 21:11:39 UTC


README

Latest Version on Packagist Total Downloads

Combined from

Laravel Nova Telescope Smart Link

Ability to add link to the Laravel Telescope Assistant in the Laravel Nova sidebar. Link automatically disables if current user hasn't access to the Telescope Debug Assistant according with access policy which is defined in gate viewTelescope. For more information, checkout the documentation.

Laravel Nova Horizon Smart Link

Ability to add link to the Laravel Horizon Dashboard in the Laravel Nova sidebar. Link automatically disables if current user hasn't access to the Horizon Dashboard according with access policy which is defined in Horizon::auth method. For more information, checkout the documentation.

Installation

You can install the nova theme into a Laravel app that uses Nova via composer:

composer require kortdev/menu-linker

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

// app/Providers/NovaServiceProvider.php

// ...

public function tools()
{
    return [
        // ...
        new \Kortdev\MenuLinker\TelescopeLink,
        new \Kortdev\MenuLinker\HorizonLink,
    ];
}

Customization & More information

Please see Laravel Nova Telescope Smart Link](https://github.com/mad-web/nova-telescope-link) or Laravel Nova Horizon Smart Link for more details

Security

If you discover any security related issues, please email lars@kort.dev instead of using the issue tracker.

Credits

License

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