https://github.com/chris-ware/nova-route-link-tool
Nova Tool for linking to website routes
https://github.com/chris-ware/nova-route-link-tool
Last synced: 6 months ago
JSON representation
Nova Tool for linking to website routes
- Host: GitHub
- URL: https://github.com/chris-ware/nova-route-link-tool
- Owner: chris-ware
- License: mit
- Created: 2018-12-09T19:51:10.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-09T20:30:29.000Z (over 7 years ago)
- Last Synced: 2025-11-27T14:47:30.507Z (8 months ago)
- Language: PHP
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nova Route Link Tool
Nova Tool for linking to website routes
[](https://packagist.org/packages/chris-ware/nova-route-link-tool)
[](https://packagist.org/packages/chris-ware/nova-route-link-tool)
[](https://packagist.org/packages/chris-ware/nova-route-link-tool)
[](https://github.styleci.io/repos/161075536)
## Installation
You can install the package in to a Laravel app that uses [Nova](https://nova.laravel.com) via composer:
```bash
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`.
```php
// 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.
```php
// in app/Providers/NovaServiceProvder.php
// ...
public function cards()
{
return [
// ...
\ChrisWare\NovaRouteLinkCard\NovaRouteLinkCard::make($route, $label, $target)
];
}
```