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. jlorente/yii2-locations

ActiveYii2-extension

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

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

0.6.5(4y ago)1961MITPHP

Since Sep 11Pushed 4y 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 today

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

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

27

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

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

1784d 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

[dipeshsukhia/laravel-country-state-city-data

Country State City Data Provider

8230.5k](/packages/dipeshsukhia-laravel-country-state-city-data)[usamamuneerchaudhary/country-city-state

Country City State Data Provider for Laravel 12+

242.6k](/packages/usamamuneerchaudhary-country-city-state)[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.0k](/packages/salibhdr-typhoon-iran-cities)[kartik-v/yii2-ipinfo

An IP address information display widget for Yii 2.0 with country flag and geo position info.

2832.4k1](/packages/kartik-v-yii2-ipinfo)[nevadskiy/laravel-geonames

Populate your database using the GeoNames service.

2714.2k](/packages/nevadskiy-laravel-geonames)[tigrov/yii2-country

Country data for Yii2 using Intl extension and more.

151.1k](/packages/tigrov-yii2-country)

PHPackages © 2026

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