PHPackages                             davidkongdesheng/qrcode-detector-decoder - 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. davidkongdesheng/qrcode-detector-decoder

ActiveLibrary

davidkongdesheng/qrcode-detector-decoder
========================================

QR code decoder / reader

1.0.8(5y ago)01.1k↓28.6%MITPHPPHP ^5.6|^7.0

Since Jan 13Pushed 5y agoCompare

[ Source](https://github.com/DavidKongDesheng/php-qrcode-detector-decoder)[ Packagist](https://packagist.org/packages/davidkongdesheng/qrcode-detector-decoder)[ Docs](https://github.com/DavidKongDesheng/php-qrcode-detector-decoder/)[ RSS](/packages/davidkongdesheng-qrcode-detector-decoder/feed)WikiDiscussions master Synced 5d ago

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

QR code decoder / reader for PHP
================================

[](#qr-code-decoder--reader-for-php)

This is a PHP library to detect and decode QR-codes.
This is first and only QR code reader that works without extensions.
Ported from [ZXing library](https://github.com/zxing/zxing)

Installation
------------

[](#installation)

The recommended method of installing this library is via [Composer](https://getcomposer.org/).

Run the following command from your project root:

```
$ composer require davidkongdesheng/qrcode-detector-decoder
```

Usage
-----

[](#usage)

```
require __DIR__ . "/vendor/autoload.php";
$qrcode = new QrReader('path/to_image');
$text = $qrcode->text(); //return decoded text from QR Code
```

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

[](#requirements)

- PHP &gt;= 5.6
- GD Library

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

[](#contributing)

You can help the project by adding features, cleaning the code, adding composer and other.

1. Fork it
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 65% 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 ~166 days

Recently: every ~34 days

Total

9

Last Release

2083d ago

Major Versions

0.0.1 → 1.0.12018-04-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/1537a579e5efe6d0958a6c8e7579d298cd4cf965364b391dcdb11c908a6a3ea2?d=identicon)[deshengk](/maintainers/deshengk)

---

Top Contributors

[![khanamiryan](https://avatars.githubusercontent.com/u/6542341?v=4)](https://github.com/khanamiryan "khanamiryan (39 commits)")[![deshengk](https://avatars.githubusercontent.com/u/53414509?v=4)](https://github.com/deshengk "deshengk (5 commits)")[![xiabeifeng](https://avatars.githubusercontent.com/u/6275008?v=4)](https://github.com/xiabeifeng "xiabeifeng (5 commits)")[![duncan3dc](https://avatars.githubusercontent.com/u/546811?v=4)](https://github.com/duncan3dc "duncan3dc (2 commits)")[![philipp-brosig](https://avatars.githubusercontent.com/u/37481463?v=4)](https://github.com/philipp-brosig "philipp-brosig (1 commits)")[![qhxin](https://avatars.githubusercontent.com/u/8831920?v=4)](https://github.com/qhxin "qhxin (1 commits)")[![renat-magadiev](https://avatars.githubusercontent.com/u/12897610?v=4)](https://github.com/renat-magadiev "renat-magadiev (1 commits)")[![Seldaek](https://avatars.githubusercontent.com/u/183678?v=4)](https://github.com/Seldaek "Seldaek (1 commits)")[![tavori](https://avatars.githubusercontent.com/u/230928651?v=4)](https://github.com/tavori "tavori (1 commits)")[![marikn](https://avatars.githubusercontent.com/u/10763188?v=4)](https://github.com/marikn "marikn (1 commits)")[![bitdeli-chef](https://avatars.githubusercontent.com/u/3092978?v=4)](https://github.com/bitdeli-chef "bitdeli-chef (1 commits)")[![interinvest](https://avatars.githubusercontent.com/u/9532241?v=4)](https://github.com/interinvest "interinvest (1 commits)")[![andreybolonin](https://avatars.githubusercontent.com/u/2576509?v=4)](https://github.com/andreybolonin "andreybolonin (1 commits)")

---

Tags

qrbarcodezxing

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/davidkongdesheng-qrcode-detector-decoder/health.svg)

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

###  Alternatives

[khanamiryan/qrcode-detector-decoder

QR code decoder / reader

1.4k31.5M70](/packages/khanamiryan-qrcode-detector-decoder)[endroid/qr-code

Endroid QR Code

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

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

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

An easy to use, non-bloated, barcode generator in PHP. Creates SVG, PNG, JPG and HTML images from the most used 1D barcode standards.

1.8k25.5M88](/packages/picqer-php-barcode-generator)

PHPackages © 2026

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