PHPackages                             sanmai/jpb-account-converter - 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. sanmai/jpb-account-converter

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

sanmai/jpb-account-converter
============================

Japan Post Bank account numbers converter for use in regular bank transfers.

v0.9.1(5y ago)012.1k↑20%MITPHPPHP &gt;=5.6

Since Feb 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/sanmai/jpb-account-converter)[ Packagist](https://packagist.org/packages/sanmai/jpb-account-converter)[ Docs](https://github.com/sanmai/jpb-account-converter)[ RSS](/packages/sanmai-jpb-account-converter/feed)WikiDiscussions master Synced 1mo ago

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

Japan Post Bank Account Number Converter
========================================

[](#japan-post-bank-account-number-converter)

[![Build Status](https://camo.githubusercontent.com/70a82e37d8ba144c6b9de0c39191258c7f032fad59b91fa880a6f790e8e5d51c/68747470733a2f2f7472617669732d63692e6f72672f73616e6d61692f6a70622d6163636f756e742d636f6e7665727465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sanmai/jpb-account-converter)[![Coverage Status](https://camo.githubusercontent.com/722eb71f9c060e9a3b86c73209778d7730de7bec19114f4c63f02c728907c5d6/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f73616e6d61692f6a70622d6163636f756e742d636f6e7665727465722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/sanmai/jpb-account-converter?branch=master)

This library lets you convert a specific to Japan Post Bank account code into a familiar branch name and account number pair.

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

[](#installation)

As simple as this:

```
composer require sanmai/jpb-account-converter

```

Usage
-----

[](#usage)

```
$converter = new \KigoBangoShiraberu\Converter('14030', '12345671');
var_dump($converter->getAccountType());
var_dump($converter->getBranchName());
var_dump($converter->getBranchNameKana());
var_dump($converter->getAccountNumber());
echo "\n$converter\n";

```

Sample output:

```
string(6) "普通"
string(9) "四〇八"
string(18) "ヨンゼロハチ"
string(7) "1234567"

銀行名	ゆうちょ銀行
金融機関コード	９９００
店番	４０８
預金種目	普通
店名	四〇八店（ヨンゼロハチ店）
口座番号	１２３４５６７

```

You can confirm its correctness with [the original tool from the Japan Post Bank](http://www.jp-bank.japanpost.jp/kojin/sokin/furikomi/kj_sk_fm_furikomi.html).

Only difference from the original tool is that this library doesn't check a branch number against [the list of known branch numbers](http://www.jp-bank.japanpost.jp/kojin/sokin/furikomi/pdf/tenbangou_tenmei.pdf). Every other check is in place. [See the tests.](tests/KigoBangoShiraberu/ConverterTest.php)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92% 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 ~1795 days

Total

2

Last Release

1963d ago

PHP version history (2 changes)v0.9PHP &gt;=5.6.0

v0.9.1PHP &gt;=5.6

### Community

Maintainers

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

---

Top Contributors

[![sanmai](https://avatars.githubusercontent.com/u/139488?v=4)](https://github.com/sanmai "sanmai (23 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (2 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/sanmai-jpb-account-converter/health.svg)

```
[![Health](https://phpackages.com/badges/sanmai-jpb-account-converter/health.svg)](https://phpackages.com/packages/sanmai-jpb-account-converter)
```

PHPackages © 2026

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