PHPackages                             xiaofengit/region-of-china-laravel - 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. xiaofengit/region-of-china-laravel

ActiveLibrary

xiaofengit/region-of-china-laravel
==================================

Create the region of china for laravel

1.0.1(4y ago)131MITPHPPHP ^7.2|^8.0

Since Apr 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/xiaofengit/region-of-china-laravel)[ Packagist](https://packagist.org/packages/xiaofengit/region-of-china-laravel)[ RSS](/packages/xiaofengit-region-of-china-laravel/feed)WikiDiscussions main Synced yesterday

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

Region of China for Laravel
===========================

[](#region-of-china-for-laravel)

The package to create regions of china for Laravel or Lumen. 适用于Laravel，用于生成中国省市区数据拓展包。

Install
-------

[](#install)

### Install via compser

[](#install-via-compser)

Run the following command to pull in the lastest version:

`composer require xiaofengit/region-of-china-laravel`

### Add service provider (Laravel 5.4 or below):

[](#add-service-provider-laravel-54-or-below)

Add the service provider to the providers array in the config/app.php config file as follows:

```
    'providers' => [

        ...

        Xiaofengit\RegionOfChina\Providers\LaravelServiceProvider::class,
    ]

```

if you using Laravel 5.5 or higher, the provider will auto load.

### Publish the files

[](#publish-the-files)

Run the following command to publish the package config file:

`php artisan vendor:publish --provider="Xiaofengit\RegionOfChina\Providers\LaravelServiceProvider"`

### Create the table if you needs

[](#create-the-table-if-you-needs)

Run the following command to create regions table:

`php artisan migreate`

### Seed data

[](#seed-data)

Run the following command to seed data:

`php artisan db:seed --class="Database\Seeders\RegionSeeder"`

License
-------

[](#license)

It's open-sourced software licensed under the MIT license.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

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

Total

2

Last Release

1538d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/48430923?v=4)[EagleQiu](/maintainers/EagleQiu)[@eagleqiu](https://github.com/eagleqiu)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/xiaofengit-region-of-china-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/xiaofengit-region-of-china-laravel/health.svg)](https://phpackages.com/packages/xiaofengit-region-of-china-laravel)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[dragon-code/migrate-db

Easy data transfer from one database to another

15717.4k](/packages/dragon-code-migrate-db)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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