PHPackages                             shibuyakosuke/laravel-japanese - 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. [Localization &amp; i18n](/categories/localization)
4. /
5. shibuyakosuke/laravel-japanese

ActiveLibrary[Localization &amp; i18n](/categories/localization)

shibuyakosuke/laravel-japanese
==============================

Japanese package for laravel

072PHPCI failing

Since Sep 12Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ShibuyaKosuke/laravel-japanese)[ Packagist](https://packagist.org/packages/shibuyakosuke/laravel-japanese)[ RSS](/packages/shibuyakosuke-laravel-japanese/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-japanese
================

[](#laravel-japanese)

インストール
------

[](#インストール)

```
composer require shibuyakosuke/laravel-japanese
```

設定ファイルの配置
---------

[](#設定ファイルの配置)

```
php artisan vendor:publish --tag=japanese

```

機能
--

[](#機能)

### Custom middleware

[](#custom-middleware)

- POST された文字列を `mb_convert_kana()` を通し文字列を変換します。初期値のオプションは、`KVas` が指定されます。

#### 使用方法

[](#使用方法)

`config/japanese.php` でデフォルトの変換設定を変更することができます。

```
'convert' => [
    /*
     * mb_convert_kana() のオプション指定にしたがって、文字列を変換します。
     * null を指定した場合には、何も変換しません。
     * @see https://www.php.net/manual/ja/function.mb-convert-kana.php
     */
    'option' => 'KVas'
]
```

### Custom validation rules

[](#custom-validation-rules)

- `hiragana`
- `katakana`
- `kana`

### Custom Date helper

[](#custom-date-helper)

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity29

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/7816825?v=4)[Kosuke Shibuya](/maintainers/ShibuyaKosuke)[@ShibuyaKosuke](https://github.com/ShibuyaKosuke)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/shibuyakosuke-laravel-japanese/health.svg)

```
[![Health](https://phpackages.com/badges/shibuyakosuke-laravel-japanese/health.svg)](https://phpackages.com/packages/shibuyakosuke-laravel-japanese)
```

###  Alternatives

[smarty-gettext/smarty-gettext

Gettext plugin enabling internationalization in Smarty Package files

752.5M8](/packages/smarty-gettext-smarty-gettext)[devaslanphp/auto-translate

Auto generate translation JSON files

6627.3k](/packages/devaslanphp-auto-translate)

PHPackages © 2026

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