PHPackages                             dreamxzr/province-search - 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. [Search &amp; Filtering](/categories/search)
4. /
5. dreamxzr/province-search

ActiveLibrary[Search &amp; Filtering](/categories/search)

dreamxzr/province-search
========================

基于laravel的省市区搜索扩展包

02PHP

Since Oct 12Pushed 6y ago1 watchersCompare

[ Source](https://github.com/dreamXZR/province-search)[ Packagist](https://packagist.org/packages/dreamxzr/province-search)[ RSS](/packages/dreamxzr-province-search/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

 省市区搜索扩展包
==========

[](#-省市区搜索扩展包-)

 基于laravel的省市区搜索扩展包，最新的省市区数据库，可以方便快速的进行省市区相关查询。

框架要求
----

[](#框架要求)

Laravel &gt;= 5.1

安装
--

[](#安装)

```
composer require dreamxzr/province-search -vvv
```

配置
--

[](#配置)

1.在 config/app.php 注册 ServiceProvider 和 Facade (Laravel 5.5 + 无需手动注册)

```
'providers' => [
    // ...
    Dreamxzr\ProvinceSearch\ServiceProvider::class,
],
'aliases' => [
    // ...
    'ProvinceSearch' => Dreamxzr\ProvinceSearch\Facade::class,
],
```

发布数据库文件

```
php artisan vendor:publish --provider="Dreamxzr\ProvinceSearch\ServiceProvider"

php artisan migrate
```

使用
--

[](#使用)

TODO

License
-------

[](#license)

MIT

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

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://avatars.githubusercontent.com/u/26828190?v=4)[夕夢](/maintainers/dreamXZR)[@dreamXZR](https://github.com/dreamXZR)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/dreamxzr-province-search/health.svg)

```
[![Health](https://phpackages.com/badges/dreamxzr-province-search/health.svg)](https://phpackages.com/packages/dreamxzr-province-search)
```

###  Alternatives

[awesome-nova/dependent-filter

Dependent filters for Laravel Nova

26190.2k](/packages/awesome-nova-dependent-filter)[algolia/php-dom-parser

A simple tool to turn DOM into Algolia search friendly record objects.

181.8k](/packages/algolia-php-dom-parser)

PHPackages © 2026

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