Weave Code
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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport