This package provides a large database with Countries, Cities, Areas, Languages and Currencies models for your Laravel application

The database contains:

- 250 Countries
- 5000+ Cities (States/Regions)
- 149000+ Areas (Cities part of a State/Region)

After installation, you can use the Package models to retrieve the data OR directly use the json files.

### Requirements

* PHP 8.1 or higher
* Laravel 9.x or higher

### Install

Run `composer require milenmk/laravel-locations` to install the package

Run `php artisan milenmk-locations:install` to publish the migrations and seed the database tables

When the command is run, the database tables for the models will be created and then they will be seeded with the data included in the json files.

Project Activity

See All Activity >

Follow Laravel locations

Laravel locations Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Laravel locations!

Additional Project Details

Programming Language

PHP

Registered

2025-04-14