PHPackages                             alveos/phpqrcode - 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. alveos/phpqrcode

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

alveos/phpqrcode
================

PHPQRCode porting and changed for PHP 5.3 compatibility

1.0.1(12y ago)0170MITPHPPHP &gt;=5.3.0

Since Jul 3Pushed 12y ago3 watchersCompare

[ Source](https://github.com/Alveos/PHPQRCode)[ Packagist](https://packagist.org/packages/alveos/phpqrcode)[ Docs](https://github.com/aferrandini/PHPQRCode)[ RSS](/packages/alveos-phpqrcode/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

PHP QRCode Library
==================

[](#php-qrcode-library)

To install this library please follow the next steps:

Install the library using `composer`:
-------------------------------------

[](#install-the-library-using-composer)

Add the required module to your `composer.json` file:

```
{
    "require": {
        ...
        "Alveos/phpqrcode": "master"
        ...
    }

    ...

    "repositories": [
    	...
        {
            "type":"package",
            "package": {
              "name": "Alveos/phpqrcode",
              "version":"master",
              "source": {
                  "url": "git@github.com:Alveos/PHPQRCode.git",
                  "type": "git",
                  "reference":"master"
                }
            }
        }
        ...
    ]
}

```

Then run the command `composer update`.

Usage
-----

[](#usage)

Sample code:

```
\PHPQRCode\QRcode::png("Test", "/tmp/qrcode.png", 'L', 4, 2, false, true);//Output png

\PHPQRCode\QRcode::jpg("Test", "/tmp/qrcode.jpeg", 'L', 4, 2, true, false);//Save jpeg

```

This code will generate a PNG file on '/tmp/qrcode.png' with a QRCode that contains the word 'Test'.

Acknowledgements
----------------

[](#acknowledgements)

This library is an import of PHP QR Code by Dominik Dzienia that you can find at , and a fork moving from GD to Imagick (ref: )

Based on C libqrencode library (ver. 3.1.1), Copyright (C) 2006-2010 by Kentaro Fukuchi

QR Code is registered trademarks of DENSO WAVE INCORPORATED in JAPAN and other countries.

Reed-Solomon code encoder is written by Phil Karn, KA9Q. Copyright (C) 2002, 2003, 2004, 2006 Phil Karn, KA9Q

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76% 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 ~5 days

Total

2

Last Release

4689d ago

### Community

Maintainers

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

---

Top Contributors

[![aferrandini](https://avatars.githubusercontent.com/u/196210?v=4)](https://github.com/aferrandini "aferrandini (19 commits)")[![yannickmahe](https://avatars.githubusercontent.com/u/724833?v=4)](https://github.com/yannickmahe "yannickmahe (5 commits)")[![javiereguiluz](https://avatars.githubusercontent.com/u/73419?v=4)](https://github.com/javiereguiluz "javiereguiluz (1 commits)")

---

Tags

phpqrcodebarcode

### Embed Badge

![Health badge](/badges/alveos-phpqrcode/health.svg)

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

PHPackages © 2026

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