Download the PHP package mapo-89/laravel-qr-decoder without Composer
On this page you can find all versions of the php package mapo-89/laravel-qr-decoder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mapo-89/laravel-qr-decoder
More information about mapo-89/laravel-qr-decoder
Files in mapo-89/laravel-qr-decoder
Package laravel-qr-decoder
Short Description A cross‑platform Laravel package for decoding QR codes from PNG images using Python
License MIT
Homepage https://github.com/mapo-89/laravel-qr-decoder
Informations about the package laravel-qr-decoder
Laravel QR Decoder
A cross‑platform Laravel package for decoding QR codes from PNG images using Python (zxing-cpp).
This package wraps a Python decoder inside a virtual environment and exposes a clean Laravel API. It works on Windows and Linux using OS‑specific wrapper scripts.
Features
- ✅ Cross‑platform (Windows & Linux)
- ✅ Python isolated via
venv - ✅ No global Python dependencies
- ✅ Secure execution via Symfony Process
- ✅ Works with logos / low‑contrast QR codes
Requirements
- PHP >= 8.2
- Laravel >= 11
- Python >= 3.13
Installation
Install the package (local / path repository)
Publish config
Configure Python path
Edit config/qr-decoder.php:
Run the installer (recommended)
This command will:
- Create a Python virtual environment in the configured path
- Install all required Python dependencies
- Work on Windows and Linux
Usage
This package does not provide controllers or views.
It exposes a single service (QrDecoder) that can be used inside your application’s controllers, APIs, jobs or commands.
Example Use Cases
-
Decode an already uploaded file on button click:
- Upload a file and decode immediately:
Note: The controller should live in your application, not in this package. If you need a UI, build it in your application or in a separate package that depends on this one.
Dependency Injection
Configuration
Directory Structure
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Manuel Postler
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.