PHPackages                             yakeing/qrcode - 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. yakeing/qrcode

AbandonedArchivedSymfony-bundle

yakeing/qrcode
==============

This is a class of php QR Code

v3.2.1(6y ago)571286MPL-2.0PHPPHP &gt;=5.6

Since Aug 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/yakeing/QRCode)[ Packagist](https://packagist.org/packages/yakeing/qrcode)[ Docs](https://github.com/yakeing/QRCode)[ RSS](/packages/yakeing-qrcode/feed)WikiDiscussions main Synced 2mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

QRCode
======

[](#qrcode)

This is a class of php QR Code, This library helps you generate QR codes in a jiffy.

[中文文档](https://github.com/yakeing/QRCode/blob/master/ZH.README.md)

### Travis CI badge

[](#travis-ci-badge)

[![Travis-ci](https://camo.githubusercontent.com/015d3c547228a66cd899b8c06651fe6ed092383d9893ac8e530db5e5b864ce5b/68747470733a2f2f6170692e7472617669732d63692e636f6d2f79616b65696e672f5152436f64652e7376673f6272616e63683d6d61696e)](https://travis-ci.com/yakeing/QRCode)

### codecov badge

[](#codecov-badge)

[![codecov](https://camo.githubusercontent.com/b3320f66332d9dc6f5f3153bce68a713308c14c383ad755d8bec91d1387eb5e3/68747470733a2f2f636f6465636f762e696f2f67682f79616b65696e672f5152436f64652f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/yakeing/QRCode)

### Github badge

[](#github-badge)

[![Downloads](https://camo.githubusercontent.com/96e7adb2c49ba077d99e0c8d123931aee8cee81464c24e2973c68dd86b285226/68747470733a2f2f342e76657263656c2e6170702f6769746875622f646f776e6c6f6164732f79616b65696e672f5152436f64653f69636f6e3d676974687562)](../../)[![Size](https://camo.githubusercontent.com/e3c202c99de61af14d37feb2feae23b4f833262294816f8eae179fe47fda7a4e/68747470733a2f2f342e76657263656c2e6170702f6769746875622f73697a652f79616b65696e672f5152436f64653f69636f6e3d676974687562)](src)[![tag](https://camo.githubusercontent.com/b0fc0bd93bc69ece8ab8838eb4fa128d3390d9cb8fae3f47884769d43ffa0566/68747470733a2f2f342e76657263656c2e6170702f6769746875622f7461672f79616b65696e672f5152436f64653f69636f6e3d676974687562)](../../releases)[![license](https://camo.githubusercontent.com/904c4bcc21898764c7b6b7edfba26ea0d5427757cfaee2837ee7bed32124b40b/68747470733a2f2f342e76657263656c2e6170702f7374617469632f6c6963656e73652f3535352f4d504c2d322e302f6665376433373f69636f6e3d676974687562)](LICENSE)[![languages](https://camo.githubusercontent.com/5275888fd9cd7a7b85d47b803d247819aa953b27342dfa420173152309ab1a18/68747470733a2f2f342e76657263656c2e6170702f7374617469632f6c616e67756167652f3535352f5048502f3334616265663f69636f6e3d676974687562)](../../search?l=php)

### Installation

[](#installation)

Use [Composer](https://getcomposer.org) to install the library. Of course, You can go to [Packagist](https://packagist.org/packages/yakeing/qrcode) to view.

```
    $ composer require yakeing/qrcode

```

### QRCode init

[](#qrcode-init)

```
    $text //Enter text (string)
    $pixel //Output image size (ini)
    $icon //Small icon (url) (Must be a square image, otherwise the image will be distorted)
    $distinguish //Recognition rate (L=7% , M=15% , Q=25% , H=30%)
    $type //Output image format (jpg/png) (Due to GIF copyright dispute)
    $margin //Margin white edge (ini 0-4)
    $color //RGB Colour array('255,255,255', '0,0,0'); Hexadecimal Colour FF0000,000000
    $stream //Output source code (true/false)
    $spec //specification Matrix with 0-40 specifications
    $OutputPath //Path to generate pictures
    qrcode::image($text, $pixel, $icon, $distinguish, $type, $margin, $color, $stream, $OutputPath);
```

[Sponsor](https://github.com/yakeing/Documentation/blob/master/Sponsor/README.md)
---------------------------------------------------------------------------------

[](#sponsor)

If you've got value from any of the content which I have created, then I would very much appreciate your support by payment donate.

[![Sponsor](https://camo.githubusercontent.com/8bf9004e5f53d2223ce47ceeed603c32154d9e6afa76039dd117bf91c5c1a685/68747470733a2f2f342e76657263656c2e6170702f7374617469632f53706f6e736f722f4541344141413f69636f6e3d6865617274)](https://github.com/yakeing/Documentation/blob/master/Sponsor/README.md)

Author
------

[](#author)

weibo: [yakeing](https://weibo.com/yakeing)

twitter: [yakeing](https://twitter.com/yakeing)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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 ~13 days

Total

3

Last Release

2447d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/95aaf19e492f95c5180360b25e7197ff554625372973f3555b9792a07d5cb9f2?d=identicon)[yakeing](/maintainers/yakeing)

---

Top Contributors

[![yakeing](https://avatars.githubusercontent.com/u/6356091?v=4)](https://github.com/yakeing "yakeing (18 commits)")[![USAing](https://avatars.githubusercontent.com/u/54356717?v=4)](https://github.com/USAing "USAing (2 commits)")

---

Tags

phpqrcodeqrcode

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yakeing-qrcode/health.svg)

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

###  Alternatives

[tecnickcom/tcpdf

TCPDF is a PHP class for generating PDF documents and barcodes.

4.5k101.8M473](/packages/tecnickcom-tcpdf)[endroid/qr-code

Endroid QR Code

4.8k67.6M348](/packages/endroid-qr-code)[simplesoftwareio/simple-qrcode

Simple QrCode is a QR code generator made for Laravel.

2.9k27.6M92](/packages/simplesoftwareio-simple-qrcode)[chillerlan/php-qrcode

A QR Code generator and reader with a user-friendly API. PHP 8.4+

2.4k28.9M208](/packages/chillerlan-php-qrcode)[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[pragmarx/google2fa-qrcode

QR Code package for Google2FA

12024.6M37](/packages/pragmarx-google2fa-qrcode)

PHPackages © 2026

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