# chillerlan/php-qrcode

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

Repository: https://github.com/chillerlan/php-qrcode
Canonical: https://ross.abutalabs.com/products/php-qrcode
Homepage: https://smiley.codes/qrcode/
Language: PHP
License: Apache-2.0
License Family: permissive
Topics: php7, qrcode-generator, qrcode, qr-code, qr-generator, svg, phpqrcode, php, php-library, imagemagick, php5-is-dead, let-php5-die, php8, qr-reader, qrcode-reader, qrcode-scanner, php7-is-dead
Last push: 2026-06-02T12:49:07+00:00

## Health v2 (maintenance only)
Score: 81/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 85, release rhythm 65, longevity 100
- inputs: {"age_days": 3929, "days_push": 92, "days_rel": 156, "gap_med": 65, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2384, forks 328 (observed 2026-08-28T04:06:42.539409+00:00)

## What it is
A PHP library for generating Model 2 QR Codes (versions 1-40, all ECC levels, mixed encoding modes) with extensible output modules for raster and vector formats. It also includes a QR Code reader/decoder based on a PHP port of the ZXing library.

## Use cases
- generate qr codes in php
- create qr code as png or svg image
- decode a qr code from an image in php
- generate qr codes with kanji or chinese text
- add qr code generation to a web app
- scan and read qr code content server-side

## When to choose
- you need QR generation and/or decoding in a PHP project
- you need flexible output formats (PNG, SVG, JPEG, WebP, etc.)
- you need multi-byte encoding modes like kanji or hanzi
- you want a well-maintained library with PHP 7/8 support

## When to avoid
- you need QR generation in a non-PHP stack
- you need other barcode symbologies beyond QR codes
- you need extremely high-throughput real-time decoding

## Facets
- artifact type: library
- maturity: active
- function: image-processing, parser, sdk
- domain: web-development, image-processing, developer-tools
- platform: php, cli
- tags: qr-code, qrcode-generator, qrcode-reader, svg-output, gdimage, imagemagick, zxing-port, barcode, web-server

## Member repositories
- chillerlan/php-qrcode (main) score 81

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:42.539409+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:34:39.652924+00:00, confidence not recorded.
  - readme: https://github.com/chillerlan/php-qrcode (fetched 2026-08-28T04:06:42.539409+00:00, sha 8d2516492864)
- Data as of 2026-08-30T08:39:29.467469+00:00.
