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

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

zzx/phpqrcode
=============

qrcode

010PHP

Since Feb 28Pushed 7y agoCompare

[ Source](https://github.com/13302516724/phpqrcode)[ Packagist](https://packagist.org/packages/zzx/phpqrcode)[ RSS](/packages/zzx-phpqrcode/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

phpqrcode
=========

[](#phpqrcode)

二维码生成类 初始化 `$code = new PHPQRCode\QRcode(); ``$code->png('二维码内容，链接文本等等','二维码存放路径');  `

```
$qr_code_path = UPLOAD_PATH.'qr_code/';
        if(!file_exists($qr_code_path)){
            mkdir($qr_code_path);
        }
        $qr_code_file = $qr_code_path.time().rand(1,10000).'.png';
        $code = new QRcode();
        $code->png($data,$qr_code_file);
        echo '';
        //$qrHandle = imagecreatefromstring(file_get_contents($qr_code_file));
        unlink($qr_code_file); //删除二维码文件
//        header("Content-type: image/png");
//        imagepng($qrHandle);
//        imagedestroy($qrHandle);

```

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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/789c9d6bd7972f10fd8e5d711c7ea02107956162442cbd4de70d1e8f86e79c31?d=identicon)[13302516724](/maintainers/13302516724)

---

Top Contributors

[![13302516724](https://avatars.githubusercontent.com/u/20874636?v=4)](https://github.com/13302516724 "13302516724 (4 commits)")

### Embed Badge

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

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

PHPackages © 2026

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