PHPackages                             abr4xas/location - 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. abr4xas/location

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

abr4xas/location
================

This is my package location

v6.0.0(3y ago)5124[2 PRs](https://github.com/abr4xas/location/pulls)MITPHPPHP ^8.1

Since Oct 17Pushed 2y agoCompare

[ Source](https://github.com/abr4xas/location)[ Packagist](https://packagist.org/packages/abr4xas/location)[ Docs](https://github.com/abr4xas/location)[ GitHub Sponsors](https://github.com/abr4xas)[ RSS](/packages/abr4xas-location/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (6)Dependencies (13)Versions (9)Used By (0)

Import states &gt; cities &gt; neighborhood
===========================================

[](#import-states--cities--neighborhood)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f1d9a44b298f548692398ee803f3af3cd0df0d367c08b8146b43a99c9d835942/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616272347861732f6c6f636174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/abr4xas/location)[![GitHub Tests Action Status](https://github.com/abr4xas/location/workflows/Tests/badge.svg?style=flat-square)](https://github.com/abr4xas/location/actions?query=workflow%3Arun-tests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/d42ea967543b0ed0e78db2f0c4c76204b093adf268bfdf5745d717b6dd6fb028/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616272347861732f6c6f636174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/abr4xas/location)

Import states &gt; cities &gt; neighborhood from specific country.

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

[](#installation)

You can install the package via composer:

```
composer require abr4xas/location
```

You can publish and run the migrations with:

```
php artisan vendor:publish --provider="Abr4xas\Location\LocationServiceProvider" --tag="location-migrations"
php artisan migrate
```

Usage
-----

[](#usage)

```
php artisan import:states-from AR
php artisan import:cities
php artisan import:neighborhoods
```

> NOTE: You need to generate an access token. You can do that [here](https://meli.tepuilabs.dev/).

 country list:```
country: AR,
name: Argentina,
country: BO,
name: Bolivia,
country: BR,
name: Brasil,
country: CL,
name: Chile,
country: CN,
name: China,
country: CO,
name: Colombia,
country: CR,
name: Costa Rica,
country: CBT,
name: Cross Border Trade,
country: EC,
name: Ecuador,
country: SV,
name: El Salvador,
country: GT,
name: Guatemala,
country: HN,
name: Honduras,
country: MX,
name: Mexico,
country: NI,
name: Nicaragua,
country: PA,
name: Panamá,
country: PY,
name: Paraguay,
country: PE,
name: Peru,
country: PT,
name: Portugal,
country: PR,
name: Puerto Rico,
country: GB,
name: Reino Unido,
country: DO,
name: República Dominicana,
country: UY,
name: Uruguay,
country: VE,
name: Venezuela,

```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

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

Credits
-------

[](#credits)

- [angel cruz](https://github.com/abr4xas)
- [All Contributors](../../contributors)

> I'm using Mercado Libre API for this package. Kudos to all MeLi devs &lt;3

License
-------

[](#license)

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

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 71% 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 ~180 days

Recently: every ~206 days

Total

6

Last Release

1180d ago

Major Versions

v1.0.0 → v2.0.02021-01-04

v2.0.0 → v3.0.02021-04-11

v3.0.0 → v4.0.02021-08-18

v4.0.0 → v5.0.02022-10-08

v5.0.0 → v6.0.02023-04-10

PHP version history (3 changes)v1.0.0PHP ^7.4

v4.0.0PHP ^8.0

v5.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d947508ce4076ed67ec719eb2c74696e025dab397eabc921d483545fb4c403f?d=identicon)[abr4xas](/maintainers/abr4xas)

---

Top Contributors

[![abr4xas](https://avatars.githubusercontent.com/u/405484?v=4)](https://github.com/abr4xas "abr4xas (22 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (4 commits)")

---

Tags

citiescountryhacktoberfestlaravellaravel-packageneighborhoodlaravellocationMercadoLibre

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/abr4xas-location/health.svg)

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

###  Alternatives

[nativephp/mobile

NativePHP for Mobile

1.1k75.1k90](/packages/nativephp-mobile)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M164](/packages/spatie-laravel-health)[maestroerror/laragent

Power of AI Agents in your Laravel project

639159.9k](/packages/maestroerror-laragent)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[stephenjude/filament-feature-flags

Filament implementation of feature flags and segmentation with Laravel Pennant.

122177.8k1](/packages/stephenjude-filament-feature-flags)[ercogx/filament-openai-assistant

Create chat page with OpenAI Assistant

175.8k](/packages/ercogx-filament-openai-assistant)

PHPackages © 2026

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