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

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

eplayment/qrcode-detector-decoder
=================================

QR code decoder / reader

v1.0.0(12mo ago)074MITPHPPHP &gt;=8.1

Since May 21Pushed 12mo agoCompare

[ Source](https://github.com/eplayment/php-qrcode-detector-decoder)[ Packagist](https://packagist.org/packages/eplayment/qrcode-detector-decoder)[ Docs](https://github.com/khanamiryan/php-qrcode-detector-decoder/)[ RSS](/packages/eplayment-qrcode-detector-decoder/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

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

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

[![Tests](https://github.com/khanamiryan/php-qrcode-detector-decoder/actions/workflows/tests.yml/badge.svg)](https://github.com/khanamiryan/php-qrcode-detector-decoder/actions/workflows/tests.yml)[![Static Tests](https://github.com/khanamiryan/php-qrcode-detector-decoder/actions/workflows/static_tests.yml/badge.svg)](https://github.com/khanamiryan/php-qrcode-detector-decoder/actions/workflows/static_tests.yml)

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";
use Zxing\QrReader;
$qrcode = new QrReader('path/to_image');
$text = $qrcode->text(); //return decoded text from QR Code
```

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

[](#requirements)

- PHP &gt;= 8.1
- 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

31

—

LowBetter than 68% of packages

Maintenance50

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

360d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dad4e6532fb10f8ca8ceabf0a9af74e1435138a98f2fd3defd7685a0cc452e4d?d=identicon)[eplayment](/maintainers/eplayment)

---

Top Contributors

[![khanamiryan](https://avatars.githubusercontent.com/u/6542341?v=4)](https://github.com/khanamiryan "khanamiryan (51 commits)")[![GenieTim](https://avatars.githubusercontent.com/u/8596965?v=4)](https://github.com/GenieTim "GenieTim (28 commits)")[![xiabeifeng](https://avatars.githubusercontent.com/u/6275008?v=4)](https://github.com/xiabeifeng "xiabeifeng (6 commits)")[![Chris8934](https://avatars.githubusercontent.com/u/44963939?v=4)](https://github.com/Chris8934 "Chris8934 (3 commits)")[![duncan3dc](https://avatars.githubusercontent.com/u/546811?v=4)](https://github.com/duncan3dc "duncan3dc (2 commits)")[![remicollet](https://avatars.githubusercontent.com/u/270445?v=4)](https://github.com/remicollet "remicollet (2 commits)")[![0test](https://avatars.githubusercontent.com/u/10080727?v=4)](https://github.com/0test "0test (1 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)")[![samnela](https://avatars.githubusercontent.com/u/1852108?v=4)](https://github.com/samnela "samnela (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)")[![webmaster777](https://avatars.githubusercontent.com/u/2650744?v=4)](https://github.com/webmaster777 "webmaster777 (1 commits)")[![woenel](https://avatars.githubusercontent.com/u/8844488?v=4)](https://github.com/woenel "woenel (1 commits)")[![marikn](https://avatars.githubusercontent.com/u/10763188?v=4)](https://github.com/marikn "marikn (1 commits)")[![andreybolonin](https://avatars.githubusercontent.com/u/2576509?v=4)](https://github.com/andreybolonin "andreybolonin (1 commits)")[![bitdeli-chef](https://avatars.githubusercontent.com/u/3092978?v=4)](https://github.com/bitdeli-chef "bitdeli-chef (1 commits)")[![ilario-pierbattista](https://avatars.githubusercontent.com/u/987038?v=4)](https://github.com/ilario-pierbattista "ilario-pierbattista (1 commits)")[![interinvest](https://avatars.githubusercontent.com/u/9532241?v=4)](https://github.com/interinvest "interinvest (1 commits)")

---

Tags

qrbarcodezxing

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm, Rector

Code StyleECS

Type Coverage Yes

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/eplayment-qrcode-detector-decoder/health.svg)](https://phpackages.com/packages/eplayment-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)
