PHPackages                             96qbhy/qrcode-scanner - 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. 96qbhy/qrcode-scanner

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

96qbhy/qrcode-scanner
=====================

二维码扫描仪

1.0.0(8y ago)111372PHP

Since Sep 10Pushed 8y agoCompare

[ Source](https://github.com/96qbhy/qrcode-scanner)[ Packagist](https://packagist.org/packages/96qbhy/qrcode-scanner)[ RSS](/packages/96qbhy-qrcode-scanner/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

qrcode-scanner
==============

[](#qrcode-scanner)

二维码扫描仪

> 该项目不再维护，转战至 [code-scanner](https://github.com/96qbhy/code-scanner-php) , `code-scanner` 支持二维码和条形码的扫描，欢迎 star。
> 该项目不再维护，转战至 [code-scanner](https://github.com/96qbhy/code-scanner-php) , `code-scanner` 支持二维码和条形码的扫描，欢迎 star。
> 该项目不再维护，转战至 [code-scanner](https://github.com/96qbhy/code-scanner-php) , `code-scanner` 支持二维码和条形码的扫描，欢迎 star。

需要
--

[](#需要)

```
PHP >= 5.3
GD Library

```

安装
--

[](#安装)

```
composer require 96qbhy/qrcode-scanner
```

使用
--

[](#使用)

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

use Qbhy\QrCodeScanner\QrCodeScanner;

$qrCode = new QrCodeScanner('./qr.png');  //图片路径
$text = $qrCode->text(); //返回识别后的文本
echo $text . PHP_EOL;
```

版权声明
----

[](#版权声明)

此包并非完全由我书写，而是 fork 自 [https://github.com/baagee/php\_QrReader](https://github.com/baagee/php_QrReader) 后修改而来。由于原版本不支持 `composer`， 故有了此包。

###  Health Score

31

—

LowBetter than 65% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 85.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

Unknown

Total

1

Last Release

3259d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24204533?v=4)[桥边红药](/maintainers/qbhy)[@qbhy](https://github.com/qbhy)

---

Top Contributors

[![qbhy](https://avatars.githubusercontent.com/u/24204533?v=4)](https://github.com/qbhy "qbhy (6 commits)")[![baagee](https://avatars.githubusercontent.com/u/22995500?v=4)](https://github.com/baagee "baagee (1 commits)")

### Embed Badge

![Health badge](/badges/96qbhy-qrcode-scanner/health.svg)

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

PHPackages © 2026

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