PHP ZXing

PHP wrapper for the ZXing barcode library

PHPZxing is a Composer-installable PHP wrapper around the ZXing Java library for reading barcodes and QR codes. It shells out to the local JRE, supports try-harder mode, multiple barcodes per image, crop, and format filters — and has been adopted widely enough to be featured on the primary ZXing GitHub repository.

277K+

Packagist installs

133

GitHub stars

Featured

on ZXing repo

MIT

open source

How it works

What's inside

01

Composer package wrapping ZXing core.jar and javase.jar

02

Decode a single file, a directory, or an array of images

03

try_harder, multiple_bar_codes, crop, and possible_formats configs

04

Typed results: ZxingImage vs ZxingBarNotFound with isFound()

05

Configurable Java path for *nix and Windows environments

06

Featured on the primary ZXing GitHub repository