PHPackages                             khalin/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. [Admin Panels](/categories/admin)
4. /
5. khalin/nova-link-field

ActiveLibrary[Admin Panels](/categories/admin)

khalin/nova-link-field
======================

A Laravel Nova Link field.

v1.2.4(5y ago)31587.5k↑36%6[1 issues](https://github.com/oleghalin/nova-link-field/issues)2MITVuePHP &gt;=7.1.0

Since Mar 30Pushed 3y ago1 watchersCompare

[ Source](https://github.com/oleghalin/nova-link-field)[ Packagist](https://packagist.org/packages/khalin/nova-link-field)[ RSS](/packages/khalin-nova-link-field/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (6)Dependencies (1)Versions (10)Used By (2)

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

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

[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

#### 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 khalin/nova-link-field`

Usage
-----

[](#usage)

1. Include the dependency `use Khalin\Nova\Field\Link;`
2. Add to the `Fields` array

```
Link::make('Charge Id', 'stripe_id'),

```

Advanced usage
--------------

[](#advanced-usage)

### Edit link href:

[](#edit-link-href)

For this needs you can use `url()` function (accept `Callable` or `string`)

Example:

```
Link::make('Charge Id', 'stripe_id')
                ->url(function () {
                    return "https://dashboard.stripe.com/payments/{$this->stripe_id}";
                })

```

### Set custom link text

[](#set-custom-link-text)

For this needs you can use `text()` function (accept `Callable` or `text`)

Example:

```
Link::make('Charge Id', 'stripe_id')
                ->url(function () {
                    return "https://dashboard.stripe.com/payments/{$this->stripe_id}";
                })
                ->text("Go To Stripe")

```

### Show icon instead of text

[](#show-icon-instead-of-text)

Replaces text with an icon on the index view. For this needs you can use `icon()` function

Example:

```
Link::make('Charge Id', 'stripe_id')
                ->url(function () {
                    return "https://dashboard.stripe.com/payments/{$this->stripe_id}";
                })
                ->text("Go To Stripe")
                ->icon()

```

### Open link in blank window

[](#open-link-in-blank-window)

For this needs you can use `blank()` function.

Example:

```
Link::make('Charge Id', 'stripe_id')
                ->url(function () {
                    return "https://dashboard.stripe.com/payments/{$this->stripe_id}";
                })
                ->blank()

```

### Add additional classes to ``

[](#add-additional-classes-to-a)

For this needs you can use `classes()` function (accept `Callable` or `text`).

Example:

```
Link::make('Charge Id', 'stripe_id')
                ->classes(function () {
                    return null === $this->charge_id ? 'charge__pending' : "charge_successfull";
                })

```

TODO
----

[](#todo)

- Cover field with tests

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity48

Moderate usage in the ecosystem

Community19

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 54.2% 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 ~85 days

Recently: every ~73 days

Total

7

Last Release

2139d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/08aab19f8fb58d29db3e2740da29c3168e41da4d3095fd59ccd2ace71d66be9c?d=identicon)[oleghalin](/maintainers/oleghalin)

---

Top Contributors

[![oleghalin](https://avatars.githubusercontent.com/u/9086983?v=4)](https://github.com/oleghalin "oleghalin (13 commits)")[![mdpoulter](https://avatars.githubusercontent.com/u/1091085?v=4)](https://github.com/mdpoulter "mdpoulter (7 commits)")[![sailingdeveloper](https://avatars.githubusercontent.com/u/3988671?v=4)](https://github.com/sailingdeveloper "sailingdeveloper (2 commits)")[![jimbojsb](https://avatars.githubusercontent.com/u/107836?v=4)](https://github.com/jimbojsb "jimbojsb (1 commits)")[![JohnRoux](https://avatars.githubusercontent.com/u/4610241?v=4)](https://github.com/JohnRoux "JohnRoux (1 commits)")

---

Tags

laravelnova

### Embed Badge

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

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

###  Alternatives

[whitecube/nova-page

Static pages content management for Laravel Nova

23997.1k1](/packages/whitecube-nova-page)[optimistdigital/nova-page-manager

Page(s) and region(s) manager for Laravel Nova.

17989.5k](/packages/optimistdigital-nova-page-manager)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[optimistdigital/nova-table-field

Table field for Laravel Nova

40132.7k](/packages/optimistdigital-nova-table-field)[outl1ne/nova-table-field

Table field for Laravel Nova

4070.5k](/packages/outl1ne-nova-table-field)[digital-creative/nova-dashboard

The missing dashboard for nova.

7171.8k1](/packages/digital-creative-nova-dashboard)

PHPackages © 2026

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