ryanito / nova-country-flag
A Laravel Nova field.
Installs: 8 262
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 1
Open Issues: 0
Language:Vue
Requires
- php: ^7.3|^8.0
README
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),