Gives you access to easily add (external) links into Laravel Nova's menu.
Our major version corresponds to the major Nova version.
Package version | Nova version |
---|---|
^4.0 |
^4.0 |
^1.0 |
^4.0 |
You can install the package via composer.
composer require justbetter/laravel-nova-links
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')),
]),
];
}
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.