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

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

railken/metzli
==============

PHP library to generate Aztec barcodes

01PHP

Since Nov 13Pushed 6mo agoCompare

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

READMEChangelogDependenciesVersions (1)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

17

—

LowBetter than 6% of packages

Maintenance47

Moderate activity, may be stable

Popularity1

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 Bus Factor1

Top contributor holds 69% 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/ea4a9e56b247008aea4d20bb8a555a9f0cb69d0ac69aa8417b29fc37efa2eb5c?d=identicon)[railken](/maintainers/railken)

---

Top Contributors

[![z38](https://avatars.githubusercontent.com/u/3948085?v=4)](https://github.com/z38 "z38 (20 commits)")[![EraYaN](https://avatars.githubusercontent.com/u/1627021?v=4)](https://github.com/EraYaN "EraYaN (4 commits)")[![nimah79](https://avatars.githubusercontent.com/u/20343056?v=4)](https://github.com/nimah79 "nimah79 (3 commits)")[![railken](https://avatars.githubusercontent.com/u/26530231?v=4)](https://github.com/railken "railken (2 commits)")

### Embed Badge

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

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

###  Alternatives

[copex/vatfix

Magento2 module for accepting VAT's (UID) with country code (ex.ATU69932326) as usual in EU.

1717.7k](/packages/copex-vatfix)

PHPackages © 2026

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