PHPackages                             hnndy/province-package-demo - 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. hnndy/province-package-demo

ActiveLibrary

hnndy/province-package-demo
===========================

Province demo in laravel

09PHP

Since Dec 21Pushed 7y ago1 watchersCompare

[ Source](https://github.com/jasester/province-package-demo)[ Packagist](https://packagist.org/packages/hnndy/province-package-demo)[ RSS](/packages/hnndy-province-package-demo/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#installation)

```
$ composer require hnndy/province-package-demo
```

```
php artisan vendor:publish --provider="Hnndy\Province\RegionServiceProvider"
```

```
php artisan migrate
```

```
php artisan db:seed --class=RegionTableSeeder
```

```
php artisan route:list
```

Api Route
---------

[](#api-route)

省份路由

```
api/v1/regions
别名 -> regions.province
```

城市路由

```
api/v1/region/{country_id}/citys
别名 -> regions.citys
```

区县路由

```
api/v1/region/{country_id}/countys
别名 -> regions.countys
```

街道路由

```
api/v1/region/{country_id}/streets
别名 -> regions.streets
```

\##Usage

```
$.get(route('regions.province'), function (data) {
    //返回页面
})
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/195023a3f7fcba438c0addfa90929d93f2619b5d8cdfd27b7206222c01085dbf?d=identicon)[jasester](/maintainers/jasester)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/hnndy-province-package-demo/health.svg)

```
[![Health](https://phpackages.com/badges/hnndy-province-package-demo/health.svg)](https://phpackages.com/packages/hnndy-province-package-demo)
```

PHPackages © 2026

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