PHPackages                             seus31/zip-code-auto-fill - 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. seus31/zip-code-auto-fill

ActiveLibrary

seus31/zip-code-auto-fill
=========================

Livewireでzipcodeの自動入力を実装する。

0136PHP

Since Mar 19Pushed 5y ago1 watchersCompare

[ Source](https://github.com/seus31/zip-code-auto-fill)[ Packagist](https://packagist.org/packages/seus31/zip-code-auto-fill)[ RSS](/packages/seus31-zip-code-auto-fill/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Read Me
=======

[](#read-me)

概要
--

[](#概要)

このパッケージはJavascriptでよくある郵便番号を入力したら自動で住所を入力する機能をLaravelのLivewireを使って実装するものです。

環境
--

[](#環境)

- PHP &gt;= 7.2.5
- Laravel &gt;= 7.0

使い方
---

[](#使い方)

### インストール

[](#インストール)

パッケージのインストールをする。

```
composer require seus31/zip-code-auto-fill
```

### 各種コマンドの実行

[](#各種コマンドの実行)

郵便番号データの作成

```
php artisan zip-code-auto-fill:db:init
```

Livewireコンポーネントの作成

```
php artisan zip-code-auto-fill:file:create
```

郵便番号検索機能を設置する対象のbladeテンプレートにlivewireコンポーネントを配置

```

```

### htmlの設定

[](#htmlの設定)

郵便番号を入力するinputタグに`id="zipcode"`を設定
都道府県を入力するinputタグに`class="af_pref"`を設定
市区町村を入力するinputタグに`class="af_city"`を設定
住所を入力するinputタグに`class="af_address"`を設定

Copyright (c) 2021 seus31 Released under the MIT license

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity30

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/2927280?v=4)[SEUS31](/maintainers/seus31)[@seus31](https://github.com/seus31)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/seus31-zip-code-auto-fill/health.svg)

```
[![Health](https://phpackages.com/badges/seus31-zip-code-auto-fill/health.svg)](https://phpackages.com/packages/seus31-zip-code-auto-fill)
```

PHPackages © 2026

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