PHP code example of outl1ne / nova-link-field
1. Go to this page and download the library: Download outl1ne/nova-link-field library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
outl1ne / nova-link-field example snippets
use Outl1ne\NovaLinkField\Link;
public function fields(Request $request) {
Link::make('Example link', 'some_value')
->text('Link to some value')
->to(fn ($someValue) => "https://example.com/{$someValue}")
->blank(),
}