PHPackages                             enmaboya/place-input - 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/place-input

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

enmaboya/place-input
====================

A Laravel Nova field.

1.0(4y ago)2112MITPHPPHP &gt;=7.1.0

Since Sep 7Pushed 4y agoCompare

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

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

Place Input for Laravel Nova
============================

[](#place-input-for-laravel-nova)

This package provides a customisable field with a city/country/place of interest search.

Powered by [Nominatim](https://nominatim.org/).

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

[](#installation)

```
composer require enmaboya/place-input

```

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

[](#basic-usage)

```
use Enmaboya\PlaceInput\PlaceInput;

PlaceInput::make('some_place')
```

### Available settings

[](#available-settings)

1. #### onlyCities - city search only

    [](#onlycities---city-search-only)

```
use Enmaboya\PlaceInput\PlaceInput;

PlaceInput::make('some_place')->onlyCities()
```

3. #### onlyCountries - country search only

    [](#onlycountries---country-search-only)

```
use Enmaboya\PlaceInput\PlaceInput;

PlaceInput::make('some_place')->onlyCountries()
```

5. #### onlyStates - search only by state \\ area

    [](#onlystates---search-only-by-state--area)

```
use Enmaboya\PlaceInput\PlaceInput;

PlaceInput::make('some_place')->onlyStates()
```

7. #### onlyCounties - search by county only (e.g. Colombia county)

    [](#onlycounties---search-by-county-only-eg-colombia-county)

```
use Enmaboya\PlaceInput\PlaceInput;

PlaceInput::make('some_place')->onlyCounties()
```

8. #### byPostalCode - search by zip code \\ postal code

    [](#bypostalcode---search-by-zip-code--postal-code)

```
use Enmaboya\PlaceInput\PlaceInput;

PlaceInput::make('some_place')->byPostalCode()
```

9. #### continents - limit the search to selected continents

    [](#continents---limit-the-search-to-selected-continents)

```
use Enmaboya\PlaceInput\PlaceInput;

PlaceInput::make('some_place')->continents(['NA', 'SA'])
```

Available list of continents:

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

10. #### countries - limit the search to selected countries

    [](#countries---limit-the-search-to-selected-countries)

```
use Enmaboya\PlaceInput\PlaceInput;

PlaceInput::make('some_place')->countries(['RU', 'US', 'CN', 'JP'])
```

11. #### dependOnCountrySelect - If you use the [County Select field](https://github.com/enmaboya/nova-country-select), the search will be restricted to the country selected in County Select.

    [](#dependoncountryselect---if-you-use-the-county-select-field-the-search-will-be-restricted-to-the-country-selected-in-county-select)

```
use Enmaboya\CountrySelect\CountrySelect;
use Enmaboya\PlaceInput\PlaceInput;

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

PlaceInput::make('some_place')->dependOnCountrySelect('county_code'),
```

License
-------

[](#license)

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

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity45

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

1705d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a72740b5daae976f85074629cd4718dd53cb7519bb7dc58bdf9a8b1f7918c8f?d=identicon)[Enmaboya](/maintainers/Enmaboya)

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/enmaboya-place-input/health.svg)

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

###  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)
