PHPackages                             carlson/nova-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. carlson/nova-link-field

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

carlson/nova-link-field
=======================

A Laravel Nova field for HTML links.

v1.1.0(6y ago)22426.3k↓11.3%4[1 issues](https://github.com/andrewicarlson/nova-link-field/issues)MITVuePHP &gt;=7.1.0

Since Aug 26Pushed 5y agoCompare

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

READMEChangelog (3)DependenciesVersions (4)Used By (0)

Laravel Nova Link Field
=======================

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

Purpose
-------

[](#purpose)

This link field adds a customizable link to the Laravel Nova admin Index and Detail views. It can be used to expose clickable links using the data found in your models. For example, wrapping an email address in a `mailto:` or a Stripe Transaction ID in a link to the Stripe Dashboard.

### Detail View

[](#detail-view)

[![](github/Detail.png?raw=true)](github/Detail.png?raw=true)

### Index View

[](#index-view)

[![](github/Index.png?raw=true)](github/Index.png?raw=true)

### Edit View

[](#edit-view)

[![](github/Edit.png?raw=true)](github/Edit.png?raw=true)

Installation
------------

[](#installation)

1. `composer require carlson/nova-link-field`

Usage
-----

[](#usage)

1. Include the dependency on the Nova Resource `use Carlson\NovaLinkField\Link;`
2. Add the resource to the `Fields` array

```
Link::make('Card Transaction', 'transaction_id')
    ->details([
        'href' => function () {
            return "https://dashboard.stripe.com/payments/{$this->transaction_id}";
        },
        'text' => function () {
            return $this->transaction_id;
        },
        'newTab' => true,
        'class' => 'no-underline dim text-primary font-bold whitespace-no-wrap',
    ]),

```

The Update view exposes the underlying model data as a text input.

API
---

[](#api)

The Link field has a custom method `details` which accepts the following properties (all are required unless otherwise indicated):

1. `href: String | Callable`
2. `text: String | Callable`
3. `newTab: Boolean | Callable`
4. `class: String | Callable` (optional) - accepts any Tailwind class names

The value of the current field can be retrieved and used in the Link by using a `Callable` and using `{$this->field_name}`.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity45

Moderate usage in the ecosystem

Community13

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.9% 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 ~266 days

Total

3

Last Release

2290d ago

### Community

Maintainers

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

---

Top Contributors

[![andrewicarlson](https://avatars.githubusercontent.com/u/5479270?v=4)](https://github.com/andrewicarlson "andrewicarlson (11 commits)")[![simonhamp](https://avatars.githubusercontent.com/u/31628?v=4)](https://github.com/simonhamp "simonhamp (4 commits)")[![vmitchell85](https://avatars.githubusercontent.com/u/1248035?v=4)](https://github.com/vmitchell85 "vmitchell85 (3 commits)")[![clarkewing](https://avatars.githubusercontent.com/u/7689302?v=4)](https://github.com/clarkewing "clarkewing (1 commits)")

---

Tags

laravellinkanchornova

### Embed Badge

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

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

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M7](/packages/optimistdigital-nova-multiselect-field)[mad-web/nova-horizon-link

Smart Link for Laravel Nova to Horizon Dashboard.

24201.4k](/packages/mad-web-nova-horizon-link)[genealabs/laravel-overridable-model

Provide a uniform method of allowing models to be overridden in Laravel.

92398.0k2](/packages/genealabs-laravel-overridable-model)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

51174.8k1](/packages/inspheric-nova-defaultable)[murdercode/nova4-tinymce-editor

Boost your Laravel Nova with the TinyMCE editor.

17165.2k](/packages/murdercode-nova4-tinymce-editor)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11229.2k](/packages/datomatic-nova-detached-actions)

PHPackages © 2026

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