PHPackages                             2amigos/qrcode-library - 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. 2amigos/qrcode-library

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

2amigos/qrcode-library
======================

QrCode Generator

4.0.0(2w ago)2191.6M↓50.9%6920BSD-3-ClausePHPPHP ^8.3CI passing

Since May 21Pushed 2w ago32 watchersCompare

[ Source](https://github.com/2amigos/qrcode-library)[ Packagist](https://packagist.org/packages/2amigos/qrcode-library)[ Docs](https://2am.tech/our-work/open-source/qrcode-library)[ RSS](/packages/2amigos-qrcode-library/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (7)Dependencies (36)Versions (28)Used By (20)

QrCode Library
==============

[](#qrcode-library)

[![Latest Version](https://camo.githubusercontent.com/e871b94d7ed7cb9f106060342f6bdb06b4fea3b743055bf900ea08540b27f49d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f32616d69676f732f7172636f64652d6c6962726172792e7376673f7374796c653d666c61742d737175617265266c6162656c3d72656c65617365)](https://github.com/2amigos/qrcode-library/tags)[![Software License](https://camo.githubusercontent.com/b60331a2084501dc07cf6d6964c0da58dd005d89c45cf3b28b4b22b60f5ec00f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4253442d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![tests](https://github.com/2amigos/qrcode-library/actions/workflows/ci.yml/badge.svg)](https://github.com/2amigos/qrcode-library/actions/workflows/ci.yml)[![Total Downloads](https://camo.githubusercontent.com/236ff9de55cd16ae54fb659c8975f7e6dde385b265aaa1115d4db7790d5ed0e9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f32616d69676f732f7172636f64652d6c6962726172792e737667)](https://packagist.org/packages/2amigos/qrcode-library)

This library allows developers to generate QR codes with ease. It works standalone and also provides Yii2 components for its use on the framework.

Requirements
------------

[](#requirements)

- PHP 8.3, 8.4 or 8.5
- `ext-gd`
- `ext-simplexml`

PNG and JPG output is rendered with a pure-GD backend **by default**, so no ImageMagick installation is required. ImageMagick (`ext-imagick`) is **optional** and only needed if you explicitly opt into the Imagick backend — see the [upgrade guide](UPGRADE-4.0.md) and the [troubleshooting guide](docs/helpful-guides/troubleshooting.md).

Documentation
-------------

[](#documentation)

You can read the latest docs on

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Zxing Wiki Barcode Contents](https://github.com/zxing/zxing/wiki/Barcode-Contents)
- [BaconQrCode](https://github.com/Bacon/BaconQrCode)
- [Endroid QrCode](https://github.com/endroid/QrCode)
- [Antonio Ramirez](https://github.com/tonydspaniard)
- [All Contributors](../../contributors)

License
-------

[](#license)

The BSD License (BSD). Please see [License File](LICENSE.md) for more information.

> [![2amigOS!](https://camo.githubusercontent.com/9fd8f1de41dc23003bb2a54034cb6658dde5be97092e195a62d629d0d7fa7f6c/687474703a2f2f7777772e67726176617461722e636f6d2f6176617461722f35353336333339346437323934356666376564333132353536656330343165302e706e67)](https://2amigos.us)

*Web development has never been so fun!*
[www.2am.tech](https://2am.tech)

###  Health Score

74

—

ExcellentBetter than 100% of packages

Maintenance97

Actively maintained with recent releases

Popularity59

Moderate usage in the ecosystem

Community36

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 69.5% 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 ~315 days

Recently: every ~257 days

Total

15

Last Release

16d ago

Major Versions

0.1.0 → 1.0.02015-03-15

1.1.2 → 2.0.02020-01-31

2.0.0 → 3.0.0-beta2023-08-19

3.1.0 → 4.0.02026-06-18

PHP version history (4 changes)1.0.0PHP &gt;=5.4.0

1.1.0PHP &gt;=5.6

2.0.0PHP &gt;=7.3

4.0.0PHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/566016?v=4)[Antonio Ramirez](/maintainers/tonydspaniard)[@tonydspaniard](https://github.com/tonydspaniard)

---

Top Contributors

[![2amjsouza](https://avatars.githubusercontent.com/u/142612126?v=4)](https://github.com/2amjsouza "2amjsouza (91 commits)")[![tonydspaniard](https://avatars.githubusercontent.com/u/566016?v=4)](https://github.com/tonydspaniard "tonydspaniard (33 commits)")[![lshaf](https://avatars.githubusercontent.com/u/4636265?v=4)](https://github.com/lshaf "lshaf (2 commits)")[![sJonatas](https://avatars.githubusercontent.com/u/9554096?v=4)](https://github.com/sJonatas "sJonatas (2 commits)")[![razonyang](https://avatars.githubusercontent.com/u/17720932?v=4)](https://github.com/razonyang "razonyang (1 commits)")[![hoaaah](https://avatars.githubusercontent.com/u/8166322?v=4)](https://github.com/hoaaah "hoaaah (1 commits)")[![jafaripur](https://avatars.githubusercontent.com/u/5066430?v=4)](https://github.com/jafaripur "jafaripur (1 commits)")

---

Tags

2amigosbladeblade-componentslaravellaravel-packagephpqrqrcodeyii2qrcodeqrextensioncomponent2amigos

###  Code Quality

TestsCodeception

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/2amigos-qrcode-library/health.svg)

```
[![Health](https://phpackages.com/badges/2amigos-qrcode-library/health.svg)](https://phpackages.com/packages/2amigos-qrcode-library)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[hasinhayder/tyro-login

Tyro Login - Beautiful, customizable authentication views for Laravel 12 &amp; 13

2464.9k6](/packages/hasinhayder-tyro-login)[linkxtr/laravel-qrcode

A clean, modern, and easy-to-use QR code generator for Laravel

3720.4k](/packages/linkxtr-laravel-qrcode)[tuncaybahadir/quar

A simple QR Code generation tool for your projects with Laravel 10, 11, 12, 13 versions, php 8.2, 8.3, 8.4 and 8.5

79116.7k6](/packages/tuncaybahadir-quar)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[akira/laravel-qrcode

A clean, modern, and easy-to-use QR code generator for Laravel

494.8k](/packages/akira-laravel-qrcode)

PHPackages © 2026

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