PHPackages                             albertofem/jpnforphp-bundle - 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. albertofem/jpnforphp-bundle

ActiveLibrary

albertofem/jpnforphp-bundle
===========================

JpnForPhp Symfony2 bundle integration

215.6k2[1 PRs](https://github.com/albertofem/JpnForPhpBundle/pulls)PHP

Since Nov 14Pushed 11y agoCompare

[ Source](https://github.com/albertofem/JpnForPhpBundle)[ Packagist](https://packagist.org/packages/albertofem/jpnforphp-bundle)[ RSS](/packages/albertofem-jpnforphp-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

JpnForPhpBundle
===============

[](#jpnforphpbundle)

[![build status](https://camo.githubusercontent.com/f4b57a7244a1ab1f4f820ac60b12073c0b0f2ce3effa15b0ecd6124af75df48a/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f616c626572746f66656d2f4a706e466f7250687042756e646c652e706e67)](http://travis-ci.org/albertofem/JpnForPhpBundle) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/0e162771b75305835fad3a429ddb33cce47ec862afc7158980a2c1ff3a670822/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c626572746f66656d2f4a706e466f7250687042756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f733d61653235353131393564663439393131666439326238343234303363353534633865343733363766)](https://scrutinizer-ci.com/g/albertofem/JpnForPhpBundle/)

Integrates jpnforphp library with the Symfony2 framework.

More info:

Installation
============

[](#installation)

Require it in composer:

```
composer require albertofem/jpnforphp-bundle dev-master

```

Install it:

```
composer update albertofem/jpnforphp-bundle

```

Add it to your bundles:

```
$bundles = array(
    ...,
    new AFM\Bundle\JpnForPhpBundle\JpnForPhpBundle()
);

```

Usage
=====

[](#usage)

This bundle aims to provider commands to access the library:

Inspect a sentence
------------------

[](#inspect-a-sentence)

```
php app/console jpnforphp:analyze:inspect 素晴らしいです

```

Output:

```
Analyzing: 素晴らしいです

Sentence length: 7
Total hiragana: 5
Total katakana: 0
Total Kanji: 2
Total non-japanese characters: 0
Punctuation marks: No

```

Transliteration services
------------------------

[](#transliteration-services)

Services are defined to access transliterators:

```
$hepburn = $this->container->get('jpnforphp.transliterator.romaji.hepburn')
$hepburn->transliterate('ローマジ で　かいて');

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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/efe376b93750f4413814c8f96aa1a26d312e981ae58d5356414de7bf93df0005?d=identicon)[albertofem](/maintainers/albertofem)

---

Top Contributors

[![albertofem](https://avatars.githubusercontent.com/u/409472?v=4)](https://github.com/albertofem "albertofem (9 commits)")

### Embed Badge

![Health badge](/badges/albertofem-jpnforphp-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/albertofem-jpnforphp-bundle/health.svg)](https://phpackages.com/packages/albertofem-jpnforphp-bundle)
```

PHPackages © 2026

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