if4lcon / nova-external-url

An external URL Laravel Nova field.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nova External URL Field

Adds the ability to show external URLs in the detail and index views of resources. It uses the resolving feature from Nova to generate links.

It will show up in the detail view like this:

And in the index view like this:

Installation and usage

You can require this package using composer:

composer require pdewit/nova-external-url

You can add the field with a resolver as follows:

ExternalUrl::make('Google Link', function () {
    return 'https://www.google.com/search?q=' . $this->name;
}),
ezoic increase your site revenue

About

An external URL Laravel Nova field.


Languages

Language:Vue 64.6%Language:PHP 25.6%Language:JavaScript 9.4%Language:CSS 0.4%