PHPackages                             ryanito/nova-country-flag - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ryanito/nova-country-flag

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ryanito/nova-country-flag
=========================

A Laravel Nova field.

v1.0.1(3y ago)213.4k↓16.7%1MITVuePHP ^7.3|^8.0

Since Dec 21Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ryanito/nova-country-flag)[ Packagist](https://packagist.org/packages/ryanito/nova-country-flag)[ RSS](/packages/ryanito-nova-country-flag/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Laravel Nova Country Flag Field
===============================

[](#laravel-nova-country-flag-field)

A Laravel Nova field for displaying country flags using [Flagcdn.com](https://flagcdn.com).

[![Latest Version on Packagist](https://camo.githubusercontent.com/844463708f86f312699e7cafec4b7fcaeb91b7b0bd29818f0cdd86930ab04901/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7279616e69746f2f6e6f76612d636f756e7472792d666c61672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ryanito/nova-country-flag)[![Total Downloads](https://camo.githubusercontent.com/72d9964189078ecb9be5df5be86f52a92da4b1fbdbf25b0256733eb4ec836019/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7279616e69746f2f6e6f76612d636f756e7472792d666c61672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ryanito/nova-country-flag)

[![Screenshot of index view](https://user-images.githubusercontent.com/7041605/208942573-ff461ca0-1ede-4d33-8eb2-c0e61a738669.png)](https://user-images.githubusercontent.com/7041605/208942573-ff461ca0-1ede-4d33-8eb2-c0e61a738669.png)

[![Screenshot of detail view](https://user-images.githubusercontent.com/7041605/208943005-1efd8c6f-0a26-4c9e-b0ee-94522b63a1b4.png)](https://user-images.githubusercontent.com/7041605/208943005-1efd8c6f-0a26-4c9e-b0ee-94522b63a1b4.png)

Installation
------------

[](#installation)

Install the package into a Laravel app that uses [Nova](https://nova.laravel.com) with Composer:

```
composer require ryanito/nova-country-flag
```

Usage
-----

[](#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),
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1245d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7041605?v=4)[Ryan Davies](/maintainers/Ryanito)[@ryanito](https://github.com/ryanito)

---

Top Contributors

[![ryanito](https://avatars.githubusercontent.com/u/7041605?v=4)](https://github.com/ryanito "ryanito (5 commits)")

---

Tags

laravel-novalaravel-nova-fieldlaravelnova

### Embed Badge

![Health badge](/badges/ryanito-nova-country-flag/health.svg)

```
[![Health](https://phpackages.com/badges/ryanito-nova-country-flag/health.svg)](https://phpackages.com/packages/ryanito-nova-country-flag)
```

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M7](/packages/optimistdigital-nova-multiselect-field)[digital-creative/conditional-container

Provides an easy way to conditionally show and hide fields in your Nova resources.

116593.8k4](/packages/digital-creative-conditional-container)[genealabs/laravel-overridable-model

Provide a uniform method of allowing models to be overridden in Laravel.

92398.0k2](/packages/genealabs-laravel-overridable-model)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

51174.8k1](/packages/inspheric-nova-defaultable)[murdercode/nova4-tinymce-editor

Boost your Laravel Nova with the TinyMCE editor.

17165.2k](/packages/murdercode-nova4-tinymce-editor)[yieldstudio/nova-google-autocomplete

A Laravel Nova Google autocomplete field.

12218.4k](/packages/yieldstudio-nova-google-autocomplete)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
