PHPackages                             usetreno/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. usetreno/qrcode-detector-decoder

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

usetreno/qrcode-detector-decoder
================================

QR code decoder / reader

1(9y ago)0133MITPHPPHP ^5.6|^7.0

Since Jan 13Pushed 8y agoCompare

[ Source](https://github.com/Usetreno-dev/php-qrcode-detector-decoder)[ Packagist](https://packagist.org/packages/usetreno/qrcode-detector-decoder)[ Docs](https://github.com/khanamiryan/php-qrcode-detector-decoder)[ RSS](/packages/usetreno-qrcode-detector-decoder/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (1)Versions (4)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 khanamiryan/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

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 74.2% 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 ~0 days

Total

2

Last Release

3409d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/752f4959a7b9b2cc024dfe7cfa576350cc171c4332674404ab0cf9b85f14765a?d=identicon)[usetreno](/maintainers/usetreno)

---

Top Contributors

[![khanamiryan](https://avatars.githubusercontent.com/u/6542341?v=4)](https://github.com/khanamiryan "khanamiryan (23 commits)")[![renat-magadiev](https://avatars.githubusercontent.com/u/12897610?v=4)](https://github.com/renat-magadiev "renat-magadiev (2 commits)")[![duncan3dc](https://avatars.githubusercontent.com/u/546811?v=4)](https://github.com/duncan3dc "duncan3dc (2 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)")[![qhxin](https://avatars.githubusercontent.com/u/8831920?v=4)](https://github.com/qhxin "qhxin (1 commits)")

---

Tags

qrbarcodezxing

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[endroid/qr-code

Endroid QR Code

4.8k67.6M348](/packages/endroid-qr-code)[khanamiryan/qrcode-detector-decoder

QR code decoder / reader

1.4k31.5M70](/packages/khanamiryan-qrcode-detector-decoder)[chillerlan/php-qrcode

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

2.4k28.9M208](/packages/chillerlan-php-qrcode)[mike42/escpos-php

PHP receipt printer library for use with ESC/POS-compatible thermal and impact printers

2.7k1.9M22](/packages/mike42-escpos-php)[z38/metzli

PHP library to generate Aztec barcodes

26315.2k](/packages/z38-metzli)[devtical/nova-qrcode-field

Nova QR code field

4560.6k2](/packages/devtical-nova-qrcode-field)

PHPackages © 2026

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