PHPackages                             mdhesari/laravel-country-state-cities - 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. mdhesari/laravel-country-state-cities

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

mdhesari/laravel-country-state-cities
=====================================

Laravel country state cities

1.8(3y ago)5114[1 issues](https://github.com/Mdhesari/laravel-country-state-cities/issues)MITPHPPHP ^7.4|^8.0

Since Jan 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Mdhesari/laravel-country-state-cities)[ Packagist](https://packagist.org/packages/mdhesari/laravel-country-state-cities)[ Docs](https://github.com/mdhesari/laravel-country-state-cities)[ RSS](/packages/mdhesari-laravel-country-state-cities/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (4)Versions (14)Used By (0)

Laravel Country State City DB Migration &amp; Seeder
====================================================

[](#laravel-country-state-city-db-migration--seeder)

[![Latest Version on Packagist](https://camo.githubusercontent.com/1ff307e39f3bdba927068bf1e6aa9468c6a7d7437b0efd039396e14d9756a6ad/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d646865736172692f6c61726176656c2d636f756e7472792d73746174652d6369746965732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mdhesari/laravel-country-state-cities)[![Total Downloads](https://camo.githubusercontent.com/6203d6e0370e961f89200b152cea0c532525de585b46480cb740fed874d0f729/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d646865736172692f6c61726176656c2d636f756e7472792d73746174652d6369746965732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mdhesari/laravel-country-state-cities)[![GitHub Actions](https://github.com/mdhesari/laravel-country-state-cities/actions/workflows/main.yml/badge.svg)](https://github.com/mdhesari/laravel-country-state-cities/actions/workflows/main.yml/badge.svg)

With this package you can easily import all countries and states around the world.

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

[](#installation)

You can install the package via composer:

```
composer require mdhesari/laravel-country-state-cities
```

Usage
-----

[](#usage)

```
php artisan migrate
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Mohamad Hesari](https://github.com/mdhesari)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Recently: every ~50 days

Total

13

Last Release

1238d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7504d2dd62302fe03079daa3b37a7cb007d7d67d9aacdf8f5128282d4ab15fcc?d=identicon)[mdhesari](/maintainers/mdhesari)

---

Top Contributors

[![Mdhesari](https://avatars.githubusercontent.com/u/28428724?v=4)](https://github.com/Mdhesari "Mdhesari (20 commits)")

---

Tags

mdhesarilaravel-country-state-cities

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mdhesari-laravel-country-state-cities/health.svg)

```
[![Health](https://phpackages.com/badges/mdhesari-laravel-country-state-cities/health.svg)](https://phpackages.com/packages/mdhesari-laravel-country-state-cities)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M213](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)[mrmarchone/laravel-auto-crud

Laravel Auto CRUD helps you streamline development and save time.

28711.8k2](/packages/mrmarchone-laravel-auto-crud)

PHPackages © 2026

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