PHPackages                             enmaboya/country-select - 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. enmaboya/country-select

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

enmaboya/country-select
=======================

A Laravel Nova field.

1.0(4y ago)34.1k1MITPHPPHP &gt;=7.1.0

Since Sep 7Pushed 4y agoCompare

[ Source](https://github.com/enmaboya/nova-country-select)[ Packagist](https://packagist.org/packages/enmaboya/country-select)[ RSS](/packages/enmaboya-country-select/feed)WikiDiscussions main Synced 3w ago

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

Country Select for Laravel Nova
===============================

[](#country-select-for-laravel-nova)

This package provides a customizable select field.

Installation
============

[](#installation)

```
composer require enmaboya/country-select

```

Basic usage
-----------

[](#basic-usage)

```
use Enmaboya\CountrySelect\CountrySelect;

CountrySelect::make('Country', 'county_code')
```

### Available settings

[](#available-settings)

1. #### only - only countries from the list will be displayed

    [](#only---only-countries-from-the-list-will-be-displayed)

```
use Enmaboya\CountrySelect\CountrySelect;

CountrySelect::make('Country', 'county_code')->only(['US', 'RU'])
```

3. #### except - excludes countries from the list

    [](#except---excludes-countries-from-the-list)

```
use Enmaboya\CountrySelect\CountrySelect;

CountrySelect::make('Country', 'county_code')->except(['BY', 'CN'])
```

5. #### onlyContinents - only сontinents from the list will be displayed

    [](#onlycontinents---only-сontinents-from-the-list-will-be-displayed)

```
use Enmaboya\CountrySelect\CountrySelect;

CountrySelect::make('Country', 'county_code')->onlyContinents(['EU', 'AS'])
```

7. #### exceptContinents - excludes сontinents from the list

    [](#exceptcontinents---excludes-сontinents-from-the-list)

```
use Enmaboya\CountrySelect\CountrySelect;

CountrySelect::make('Country', 'county_code')->exceptContinents(['SA', 'NA', 'OC'])
```

Available list of continents:

- AF - Africa
- AS - Asia
- EU - Europe
- NA - North America
- OC - Oceania
- SA - South America

Make the field dependent
------------------------

[](#make-the-field-dependent)

You can make this field dependent and use it together with the "[Laravel Nova Place Input field](https://github.com/enmaboya/nova-place-input)".

In this case the search will be limited to the country selected in the "Select Country field".

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/enmaboya/nova-country-select/blob/main/LICENSE) for more information.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

1753d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/90896143?v=4)[Vitaliy Dubov](/maintainers/Enmaboya)[@enmaboya](https://github.com/enmaboya)

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/enmaboya-country-select/health.svg)

```
[![Health](https://phpackages.com/badges/enmaboya-country-select/health.svg)](https://phpackages.com/packages/enmaboya-country-select)
```

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3423.6M8](/packages/optimistdigital-nova-multiselect-field)[inspheric/nova-defaultable

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

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

Boost your Laravel Nova with the TinyMCE editor.

17178.1k1](/packages/murdercode-nova4-tinymce-editor)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11258.1k](/packages/datomatic-nova-detached-actions)[wemersonrv/input-mask

A Laravel Nova custom field text with masks on input

1197.8k](/packages/wemersonrv-input-mask)

PHPackages © 2026

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