PHPackages                             empari/geo - 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. empari/geo

ActiveLibrary

empari/geo
==========

Countries, States and Cities helper for Laravel.

5.8.0(6y ago)0171MITPHPPHP ^7.1.3

Since Jul 24Pushed 6y ago1 watchersCompare

[ Source](https://github.com/empari/geo)[ Packagist](https://packagist.org/packages/empari/geo)[ RSS](/packages/empari-geo/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (5)Versions (10)Used By (0)

Empari/Geo
==========

[](#emparigeo)

Countries, States and Cities helper for Laravel (only Brazil)

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

[](#installation)

### Composer

[](#composer)

Execute the following command to get the latest version of the package:

```
composer require empari/geo

```

### Laravel

[](#laravel)

In your `config/app.php` add `Empari\Geo\GeoServiceProvider::class` to the end of the `providers` array:

```
'providers' => [
    ...
    Empari\Geo\GeoServiceProvider::class,
],
```

Publish Configuration

```
php artisan vendor:publish --provider "Empari/Geo/GeoServiceProvider"
```

Migrate the new tables

```
php artisan migrate
```

Seeder Tables

```
php artisan db:seed --class="Empari\Geo\Database\Seeds\CountryTableSeeder"
php artisan db:seed --class="Empari\Geo\Database\Seeds\StateTableSeeder"
php artisan db:seed --class="Empari\Geo\Database\Seeds\CityTableSeeder"
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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 ~100 days

Recently: every ~143 days

Total

8

Last Release

2511d ago

Major Versions

1.0.2 → 5.5.02017-11-30

PHP version history (2 changes)1.0.0PHP ^7.0

5.8.0PHP ^7.1.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/26292a00fb9d8306c0ed436719ce882bf283399e80eff75b4fa4c6465b5868a6?d=identicon)[adrianodrix](/maintainers/adrianodrix)

---

Top Contributors

[![adrianodrix](https://avatars.githubusercontent.com/u/9584880?v=4)](https://github.com/adrianodrix "adrianodrix (24 commits)")

---

Tags

stategeocountrycityempari

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/empari-geo/health.svg)

```
[![Health](https://phpackages.com/badges/empari-geo/health.svg)](https://phpackages.com/packages/empari-geo)
```

###  Alternatives

[khsing/world

Provide countries, states, and cities relations database.

461146.3k1](/packages/khsing-world)[dipeshsukhia/laravel-country-state-city-data

Country State City Data Provider

8230.8k](/packages/dipeshsukhia-laravel-country-state-city-data)[nevadskiy/laravel-geonames

Populate your database using the GeoNames service.

2715.1k](/packages/nevadskiy-laravel-geonames)[usamamuneerchaudhary/country-city-state

Country City State Data Provider for Laravel 12+

242.6k](/packages/usamamuneerchaudhary-country-city-state)

PHPackages © 2026

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