# 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.

- **Page:** https://siddharthdeshpande.com/opensource/php-zxing
- **Repository:** https://github.com/dsiddharth2/php-zxing
- **Packagist:** https://packagist.org/packages/dsiddharth2/php-zxing
- **Language:** PHP
- **Tech stack:** PHP, Composer, ZXing, Java

## Stats

- **277K+** — Packagist installs
- **133** — GitHub stars
- **Featured** — on ZXing repo
- **MIT** — open source

## What's inside

1. Composer package wrapping ZXing core.jar and javase.jar
2. Decode a single file, a directory, or an array of images
3. try_harder, multiple_bar_codes, crop, and possible_formats configs
4. Typed results: ZxingImage vs ZxingBarNotFound with isFound()
5. Configurable Java path for *nix and Windows environments
6. Featured on the primary ZXing GitHub repository
