PHPackages                             mateusztumatek/nova-model-link-field - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. mateusztumatek/nova-model-link-field

ActiveLibrary[Templating &amp; Views](/categories/templating)

mateusztumatek/nova-model-link-field
====================================

A Laravel Nova field.

1.0.1(3y ago)1201MITPHPPHP ^7.3|^8.0

Since Jul 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mateusztumatek/nova-model-link-field)[ Packagist](https://packagist.org/packages/mateusztumatek/nova-model-link-field)[ RSS](/packages/mateusztumatek-nova-model-link-field/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

nova-model-link-field
=====================

[](#nova-model-link-field)

Search models and append links to this models by nova field

This field allow to fill database "link" column with link to Application Model

**Scenario**You have 4 models Product, Category, Blog, Order and also you have model Post with fields "name", 'link' .... You want have post with attached link to Product or Category etc.. In normal way, you have to create product\_id or category\_id ... But you only need link. Thats why this field comes in. You can attach link to multiple models with search functionality

INSTALLATION
============

[](#installation)

```
composer require mateusztumatek/nova-model-link-field

```

Basic usage
===========

[](#basic-usage)

Add `NovaIsLinkableContract` to your models that should be linkable Example :

```
class Product extends Model implements NovaIsLinkableContract{

    /**
    * Generate link for nova link field
    * @return string
    */
    public function novaLink(): string
    {
        return route('products.show', ['product' => $this->id]);
    }
}
```

And in your resource file

```
    public function fields(NovaRequest $request)
        {
            return [
                NovaModelLinkField::make('Link', 'link')
            ];
        }
```

If you want keep relative path to your application url you can use

```
NovaModelLinkField::make('Link', 'link')->storeType('relative')
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1391d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b1d0d4f0e4b1743ef4004d0302f1aaa036f262c404cb19448428a9c36ce7b5c3?d=identicon)[mateusztumatek](/maintainers/mateusztumatek)

---

Top Contributors

[![mateusztumatek](https://avatars.githubusercontent.com/u/37153688?v=4)](https://github.com/mateusztumatek "mateusztumatek (6 commits)")

---

Tags

laravellinkmodelfieldnovalinkable

### Embed Badge

![Health badge](/badges/mateusztumatek-nova-model-link-field/health.svg)

```
[![Health](https://phpackages.com/badges/mateusztumatek-nova-model-link-field/health.svg)](https://phpackages.com/packages/mateusztumatek-nova-model-link-field)
```

###  Alternatives

[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[outl1ne/nova-multiselect-field

A multiple select field for Laravel Nova.

3402.9M2](/packages/outl1ne-nova-multiselect-field)[silvanite/novafieldcheckboxes

A Laravel Nova field to display a number of multi-select options using checkboxes.

70846.9k1](/packages/silvanite-novafieldcheckboxes)[waynestate/nova-ckeditor4-field

This nova package allows you to use CKEditor 4 for text areas.

62739.1k8](/packages/waynestate-nova-ckeditor4-field)[oneduo/nova-time-field

A Laravel Nova time field

13157.6k](/packages/oneduo-nova-time-field)[joshmoreno/nova-html-field

A Laravel Nova field for rendering custom html on index, detail, and forms.

1398.6k2](/packages/joshmoreno-nova-html-field)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
