chris-ware / nova-route-link-tool
This package is abandoned and no longer maintained.
No replacement package was suggested.
A Laravel Nova tool.
1.0.0
2018-12-09 20:25 UTC
Requires
- php: >=7.1.0
This package is auto-updated.
Last update: 2023-12-12 23:43:33 UTC
README
Nova Tool for linking to website routes
Installation
You can install the package in to a Laravel app that uses Nova via composer:
composer require chris-ware/nova-route-link-tool
Next, you must register the card with Nova. This is typically done in the cards
method of the NovaServiceProvider
.
// in app/Providers/NovaServiceProvder.php // ... public function tools() { return [ // ... \ChrisWare\NovaRouteLinkTool\NovaRouteLinkTool::make(), ]; }
Customization
You are able to customize the route name, the label and the target.
// in app/Providers/NovaServiceProvder.php // ... public function cards() { return [ // ... \ChrisWare\NovaRouteLinkCard\NovaRouteLinkCard::make($route, $label, $target) ]; }