PHPackages                             nicohaase/twig-isbn-formatter - 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. [Templating &amp; Views](/categories/templating)
4. /
5. nicohaase/twig-isbn-formatter

ActiveLibrary[Templating &amp; Views](/categories/templating)

nicohaase/twig-isbn-formatter
=============================

ISBN formatting extension for Twig

1.1(2y ago)07.0k↓33.3%1MITPHPPHP ^7.4|^8.1

Since May 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/NicoHaase/twig-isbn-formatter)[ Packagist](https://packagist.org/packages/nicohaase/twig-isbn-formatter)[ Docs](https://github.com/NicoHaase/twig-isbn-formatter)[ RSS](/packages/nicohaase-twig-isbn-formatter/feed)WikiDiscussions master Synced 1mo ago

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

ISBN formatter extension for Twig
=================================

[](#isbn-formatter-extension-for-twig)

Based on `nicebooks/isbn`, this tiny package provides two Twig filters such that ISBNs can be formatted simply.

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

[](#installation)

Just run `composer require nicohaase/twig-isbn-formatter`

Available filters
-----------------

[](#available-filters)

- `formatIsbn` will add dashes where neccessary
- `toIsbn13` will provide a ISBN-13 out of any valid (ie. ISBN-10 or ISBN-13) input

Examples
--------

[](#examples)

- `{{"9783411040162"|formatIsbn}}` will output `978-3-411-04016-2`

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 86.7% 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 ~435 days

Total

5

Last Release

810d ago

Major Versions

0.3 → 1.02023-11-08

PHP version history (4 changes)0.1PHP ^7.1

0.2PHP ^7.2

0.3PHP ^7.2|^8.0

1.0PHP ^7.4|^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/449f6784b458398e7c495dd2f7cf5dcdf6ffd6d1a557d45bc20c4dbcd4302ddd?d=identicon)[NicoHaase](/maintainers/NicoHaase)

---

Top Contributors

[![NicoHaase](https://avatars.githubusercontent.com/u/1069028?v=4)](https://github.com/NicoHaase "NicoHaase (13 commits)")[![alexschwarz89](https://avatars.githubusercontent.com/u/7203493?v=4)](https://github.com/alexschwarz89 "alexschwarz89 (1 commits)")[![danielsippel](https://avatars.githubusercontent.com/u/7558075?v=4)](https://github.com/danielsippel "danielsippel (1 commits)")

---

Tags

symfonybundletwigtwig-extensionISBN

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nicohaase-twig-isbn-formatter/health.svg)

```
[![Health](https://phpackages.com/badges/nicohaase-twig-isbn-formatter/health.svg)](https://phpackages.com/packages/nicohaase-twig-isbn-formatter)
```

###  Alternatives

[yellowskies/qr-code-bundle

Symfony Barcode &amp; QR Code Generator Bundle with Twig extension

36682.9k](/packages/yellowskies-qr-code-bundle)[dms/twig-extension-bundle

DMS Twig Extension Bundle, leverages Fabien Potencier's extra twig extensions for your website.

19296.3k](/packages/dms-twig-extension-bundle)[jbouzekri/phumbor-bundle

A Symfony Bundle to use the minimal Thumbor PHP client from webfactory/phumbor

25740.0k1](/packages/jbouzekri-phumbor-bundle)[nucleos/antispam-bundle

This bundle provides some basic features to reduce spam in symfony forms.

52105.1k](/packages/nucleos-antispam-bundle)[eschmar/time-ago-bundle

Provides a simple twig filter for expressing time difference in words.

1851.4k](/packages/eschmar-time-ago-bundle)

PHPackages © 2026

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