A Laravel Nova field for displaying country flags

Laravel Nova Country Flag Field

A Laravel Nova field for displaying country flags using Flagcdn.com.

Installation

Install the package into a Laravel app that uses Nova with Composer:

composer require ryanito/nova-country-flag

Usage

Add the field to your resource in the fields method:

use Ryanito\CountryFlag\CountryFlag;

CountryFlag::make('Country')
->withCode($this->country_code)
->withName($this->country_name),

GitHub

View Github