PHPackages                             aopao/region - 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. aopao/region

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

aopao/region
============

1.0(8y ago)126MITPHP

Since Apr 26Pushed 8y ago1 watchersCompare

[ Source](https://github.com/aopao/region)[ Packagist](https://packagist.org/packages/aopao/region)[ RSS](/packages/aopao-region/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

region
======

[](#region)

省市区联动数据

安装
--

[](#安装)

`composer require aopao/region`

在 app.php 中加入服务提供者

```
/*
 * Package Service Providers...
 */
Aopao\Region\RegionServiceProvider::class,

```

生成 migration 文件

`php artisan vendor:publish --provider="Aopao\Region\RegionServiceProvider"`

在 `2018_01_01_000000_create_regions_table.php` 可以根据自身需求与结构修改表名或字段名

执行迁移

`php artisan migrate`

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Unknown

Total

1

Last Release

2940d ago

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/aopao-region/health.svg)

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

###  Alternatives

[odiseoteam/sylius-vendor-plugin

Vendor plugin for Sylius. Add Vendor (Brand) to your products

5967.2k1](/packages/odiseoteam-sylius-vendor-plugin)

PHPackages © 2026

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