Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Qrcode Detector Decoder Laravel Package

khanamiryan/qrcode-detector-decoder

Pure-PHP QR code detector/decoder (ported from ZXing). Reads QR codes from image files using GD, no extra extensions required. Simple API: create a Zxing\QrReader with a path and call text() to get the decoded content.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit: Pure PHP library with zero framework dependencies, seamlessly integrates with Laravel's service container and DI system. Requires only GD Library (standard in most PHP environments) and PHP 8.1+, aligning perfectly with modern Laravel stack requirements. No architectural overhead introduced.

Integration feasibility: Extremely straightforward via Composer. Simple API (new QrReader($path)->text()) allows immediate use in controllers, commands, or jobs. Can be wrapped in a Laravel service provider/facade for dependency injection with minimal code changes. No custom bootstrapping needed beyond standard autoloading.

Technical risk: Low to moderate. Key concerns: Dependents count of 0 despite 1.4k+ stars suggests limited real-world production validation, potentially indicating untested edge cases. GD dependency may cause issues in minimal Docker setups or cloud environments without explicit GD installation. Last release date (2025-07-10) appears to be a metadata anomaly—recent PRs (2023) confirm active maintenance, but this inconsistency raises tooling questions.

Key questions: What is the actual production adoption rate beyond GitHub stars? How does it handle low-resolution, distorted, or damaged QR codes in real-world scenarios? Is the 2025 release date a typo or intentional (e.g., future release planning)?

Integration Approach

Stack fit: Native PHP library integrates natively with Laravel 9+ (PHP 8.1+). GD is pre-enabled in most standard hosting environments (AWS, Heroku, shared hosting), though Docker-based deployments require explicit docker-php-ext-install gd configuration. No compatibility issues with Laravel's core components.

Migration path: Add via composer require khanamiryan/qrcode-detector-decoder; wrap QrReader in a Laravel service provider for DI. For existing QR logic, replace implementations by swapping the class. Legacy PHP (<8.1) projects must upgrade PHP first—this package does not support older versions.

Compatibility: Fully compatible with PHP 8.1–8.3 (verified via CI tests). GD is required; ImageMagick/Im

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log