An open API service indexing awesome lists of open source software.

https://github.com/dillingham/nova-id-link

Nova package that links the ID field, quicker navigation
https://github.com/dillingham/nova-id-link

laravel laravel-nova

Last synced: 12 months ago
JSON representation

Nova package that links the ID field, quicker navigation

Awesome Lists containing this project

README

          

## Nova ID Link

[![Latest Version on Github](https://img.shields.io/github/release/dillingham/nova-id-link.svg?style=flat-square)](https://packagist.org/packages/dillingham/nova-id-link)
[![Total Downloads](https://img.shields.io/packagist/dt/dillingham/nova-id-link.svg?style=flat-square)](https://packagist.org/packages/dillingham/nova-id-link) [![Twitter Follow](https://img.shields.io/twitter/follow/im_brian_d?color=%231da1f1&label=Twitter&logo=%231da1f1&logoColor=%231da1f1&style=flat-square)](https://twitter.com/im_brian_d)

### This behavior is now default for Nova 3.8 & up

Nova package that links the Nova ID field for a quicker click-through from the left side menu.

![nova-id](https://user-images.githubusercontent.com/29180903/52130630-b0d73b00-2608-11e9-8e86-8dcda1c65636.png)

### Install
```
composer require dillingham/nova-id-link
```
### Usage

You can globally link all ID fields in your **NovaServiceProvider**:
```php
use Laravel\Nova\Fields\ID;
```
```php
public function boot()
{
ID::useComponent('nova-id-link');
}
```

or chain `->linked()` to the existing Nova ID field in your **resources**:

```php
public function fields(Request $request)
{
return [
ID::make()->linked(),
];
}
```

---

# Author

Hi 👋, Im Brian Dillingham, creator of this Nova package [and others](https://novapackages.com/collaborators/dillingham)

Hope you find it useful. Feel free to reach out with feedback.

Follow me on twitter: [@im_brian_d](https://twitter.com/im_brian_d)