PHPackages                             jwadin/metzli - 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. jwadin/metzli

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

jwadin/metzli
=============

PHP library to generate Aztec barcodes

v1.0.2(8y ago)14.4k↓50%[2 PRs](https://github.com/jwadin/metzli/pulls)Apache-2.0PHPPHP &gt;=5.3.0

Since Sep 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/jwadin/metzli)[ Packagist](https://packagist.org/packages/jwadin/metzli)[ Docs](https://github.com/z38/metzli)[ RSS](/packages/jwadin-metzli/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (5)Used By (0)

Metzli
======

[](#metzli)

[![Build Status](https://camo.githubusercontent.com/31c1f5c3cf30ac514f439eedd80fc356241cfbf164f94baa3e1456722094571a/68747470733a2f2f7472617669732d63692e6f72672f7a33382f6d65747a6c692e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/z38/metzli)

**Metzli** is a PHP library to generate Aztec 2D barcodes.

[![Aztec code example](https://camo.githubusercontent.com/16615f3aabb6c90f26279adf9a11ef0db40eed306cff1f4f92ef3f6eca768c08/687474703a2f2f692e696d6775722e636f6d2f384a6348744f6c2e706e67)](https://camo.githubusercontent.com/16615f3aabb6c90f26279adf9a11ef0db40eed306cff1f4f92ef3f6eca768c08/687474703a2f2f692e696d6775722e636f6d2f384a6348744f6c2e706e67)

Installing
----------

[](#installing)

Just install [Composer](http://getcomposer.org) and run `composer require z38/metzli` in your project directory.

Usage
-----

[](#usage)

Using **Metzli** in your existing project is very easy:

```
require 'vendor/autoload.php';

use Metzli\Encoder\Encoder;
use Metzli\Renderer\PngRenderer;

// ... some awesome code here ...

$code = Encoder::encode('Hello World!');
$renderer = new PngRenderer();

header('Content-Type: image/png');
echo $renderer->render($code);
```

Contributing
------------

[](#contributing)

If you want to get your hands dirty, great! Here's a couple of steps/guidelines:

- Fork this repository
- Add your changes &amp; tests for those changes (in `tests/`).
- Remember to stick to the existing code style as best as possible. When in doubt, follow `PSR-2`.
- Send me a pull request!

If you don't want to go through all this, but still found something wrong or missing, please let me know, and/or **open a new issue report** so that I or others may take care of it.

Credits
-------

[](#credits)

**Metzli** is heavily based on [ZXing](https://github.com/zxing/zxing) and is basically a port of its Aztec encoding part.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 82.4% 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 ~428 days

Total

3

Last Release

3042d ago

### Community

Maintainers

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

---

Top Contributors

[![z38](https://avatars.githubusercontent.com/u/3948085?v=4)](https://github.com/z38 "z38 (14 commits)")[![jwadin](https://avatars.githubusercontent.com/u/1422474?v=4)](https://github.com/jwadin "jwadin (3 commits)")

---

Tags

librarybarcodeaztec2d-barcode

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jwadin-metzli/health.svg)

```
[![Health](https://phpackages.com/badges/jwadin-metzli/health.svg)](https://phpackages.com/packages/jwadin-metzli)
```

###  Alternatives

[z38/metzli

PHP library to generate Aztec barcodes

26315.2k](/packages/z38-metzli)[league/iso3166

ISO 3166-1 PHP Library

69536.3M116](/packages/league-iso3166)[dekor/php-array-table

PHP Library for printing associative arrays as text table (similar to mysql terminal console)

296.6M2](/packages/dekor-php-array-table)

PHPackages © 2026

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