PHPackages                             zxing/qr-reader - 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. zxing/qr-reader

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

zxing/qr-reader
===============

PHP qr code reader library

v1.2(6y ago)7547.0k↓37.3%35[5 issues](https://github.com/baagee/qr-code-reader/issues)[1 PRs](https://github.com/baagee/qr-code-reader/pulls)1GPL-2.0-onlyPHPPHP &gt;=5.3

Since Jun 13Pushed 2y ago5 watchersCompare

[ Source](https://github.com/baagee/qr-code-reader)[ Packagist](https://packagist.org/packages/zxing/qr-reader)[ RSS](/packages/zxing-qr-reader/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)DependenciesVersions (4)Used By (1)

\#php qr decoder

> php识别二维码, 不需要安装扩展 从哪里弄来的我也忘了，毕竟好几年了

### 安装

[](#安装)

`composer require zxing/qr-reader`

### 使用

[](#使用)

```
include __DIR__.'/vendor/autoload.php';

$qrcode = new \Zxing\QrReader('./qr.png');  //图片路径
$text = $qrcode->text(); //返回识别后的文本
echo $text;

```

### 需要

[](#需要)

```
PHP >= 5.3
GD Library

```

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity45

Moderate usage in the ecosystem

Community19

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~10 days

Total

3

Last Release

2192d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22995500?v=4)[BaAGee](/maintainers/baagee)[@baagee](https://github.com/baagee)

---

Top Contributors

[![baagee](https://avatars.githubusercontent.com/u/22995500?v=4)](https://github.com/baagee "baagee (2 commits)")[![xolf](https://avatars.githubusercontent.com/u/8250052?v=4)](https://github.com/xolf "xolf (1 commits)")

---

Tags

phpqr codelibrary

### Embed Badge

![Health badge](/badges/zxing-qr-reader/health.svg)

```
[![Health](https://phpackages.com/badges/zxing-qr-reader/health.svg)](https://phpackages.com/packages/zxing-qr-reader)
```

###  Alternatives

[ph-7/qrcode-generator-php-class

Light QRCode PHP class (library). QR Code Generator using vCard 4.0 and the Google Chart AP

10415.9k2](/packages/ph-7-qrcode-generator-php-class)

PHPackages © 2026

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