ryanito/nova-country-flag is a Laravel package for a laravel nova field..
It currently has 2 GitHub stars and 14.658 downloads on Packagist (latest version v1.0.1).
Install it with composer require ryanito/nova-country-flag.
Discover more Laravel packages by ryanito
or browse all Laravel packages to compare alternatives.
Last updated
A Laravel Nova field for displaying country flags using Flagcdn.com.
Install the package into a Laravel app that uses Nova with Composer:
composer require ryanito/nova-country-flag
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),