PHPackages                             jlorente/yii2-locations - 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. [Database &amp; ORM](/categories/database)
4. /
5. jlorente/yii2-locations

ActiveYii2-extension[Database &amp; ORM](/categories/database)

jlorente/yii2-locations
=======================

A Yii2 extension that includes database tables, models and an admin module to store locations.

0.6.5(5y ago)19612MITPHP

Since Sep 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/jlorente/yii2-locations)[ Packagist](https://packagist.org/packages/jlorente/yii2-locations)[ Docs](https://github.com/jlorente/yii2-locations)[ RSS](/packages/jlorente-yii2-locations/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (7)Dependencies (2)Versions (8)Used By (2)

Yii2 Locations (Development Phase)
==================================

[](#yii2-locations-development-phase)

A Yii2 extension that includes database tables, models and an admin module to store locations.

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

[](#installation)

Include the package as dependency under the composer.json file.

To install, either run

```
$ php composer.phar require jlorente/yii2-locations "*"
```

or add

```
...
    "require": {
        // ... other configurations ...
        "jlorente/yii2-locations": "*"
    }
```

to the `require` section of your `composer.json` file and run the following commands from your project directory.

```
$ composer update
$ ./yii migrate --migrationPath=@vendor/jlorente/yii2-locations/src/migrations
```

Usage
-----

[](#usage)

In construction

License
-------

[](#license)

Copyright © 2015 José Lorente Martín .

Licensed under the MIT license. See LICENSE.txt for details.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

Recently: every ~216 days

Total

7

Last Release

1881d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b5b6d568331349beaf1945db65a076cf60e6c124d504fcb43a21937f0c85bde3?d=identicon)[jlorente](/maintainers/jlorente)

---

Top Contributors

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

---

Tags

countriesyii2locationcountrycityregioncitiesregionslocations

### Embed Badge

![Health badge](/badges/jlorente-yii2-locations/health.svg)

```
[![Health](https://phpackages.com/badges/jlorente-yii2-locations/health.svg)](https://phpackages.com/packages/jlorente-yii2-locations)
```

###  Alternatives

[khsing/world

Provide countries, states, and cities relations database.

470150.7k1](/packages/khsing-world)[salibhdr/typhoon-iran-cities

A laravel package for importing all regions such as provinces, counties, cities, city districts, rural districts and villages of iran into database accurately

6121.4k](/packages/salibhdr-typhoon-iran-cities)[dipeshsukhia/laravel-country-state-city-data

Country State City Data Provider

8231.3k1](/packages/dipeshsukhia-laravel-country-state-city-data)[nevadskiy/laravel-geonames

Populate your database using the GeoNames service.

2716.4k](/packages/nevadskiy-laravel-geonames)[tomatophp/filament-locations

Database Seeds for Countries / Cities / Areas / Languages / Currancy with ready to use resources for FilamentPHP

2322.2k6](/packages/tomatophp-filament-locations)[yurtesen/geonames

Geonames importer and models for Eloquent ORM

311.7k](/packages/yurtesen-geonames)

PHPackages © 2026

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