justbetter / laravel-nova-links
Easily add a links section to your Laravel Nova application
Installs: 6 574
Dependents: 0
Suggesters: 0
Security: 0
Stars: 12
Watchers: 4
Forks: 0
Open Issues: 0
Type:package
Requires
- php: ^8.1
- laravel/framework: ^10.0|^11.0
- laravel/nova: ^4.0
Requires (Dev)
- larastan/larastan: ^2.9
- laravel/pint: ^1.6
- orchestra/testbench: ^8.0|^9.0
README
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.
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.