tarikmanoar / laravel-qrcode
Laravel QrCode is a QR code generator made for Laravel.
4.2.2
2026-04-23 01:07 UTC
Requires
- php: ^8.0 || ^8.1 || ^8.2 || ^8.3 || ^8.4 || ^8.5
- ext-gd: *
- bacon/bacon-qr-code: ^2.0 || ^3.0
- illuminate/support: ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0
Requires (Dev)
- mockery/mockery: ^1.6
- pestphp/pest: ^1.20 || ^2.0 || ^3.0
- pestphp/pest-plugin-laravel: ^1.1 || ^2.0 || ^3.0
Suggests
- ext-imagick: Allows the generation of PNG QrCodes.
- illuminate/support: Allows for use within Laravel.
README
Installation
Compatible with Laravel 8 – 13 on PHP 8.0 – 8.5
Run the following command to install the package:
composer require tarikmanoar/laravel-qrcode
Bangla | Deutsch | Español | Français | Italiano | Português | Русский | 日本語 | 한국어 | हिंदी | 简体中文 | العربية
Introduction
Laravel QrCode is an easy to use wrapper for the popular Laravel framework based on the great work provided by Bacon/BaconQrCode. We created an interface that is familiar and easy to install for Laravel users.
Official Documentation
Documentation for Laravel QrCode can be found on our website.
What's New
- Laravel 13 & PHP 8.5 support (backward-compatible with Laravel 8–12 and PHP 8.0–8.4)
- Hex color helpers —
colorHex('#FF0000'),backgroundColorHex('#FFFFFF'),eyeColorHex(0, '#000', '#FFF') - Base64 / Data URI output —
generateBase64($text)andgenerateDataUri($text)for inline<img>embedding reset()— restore the generator to its default state without reinstantiating- New data types —
VCard,MeCard,Calendar,WhatsApp,OTP(see docs for full details)
Examples
Contributing
Please submit all issues and pull requests to the tarikmanoar/laravel-qrcode repository!
License
This software is released under the MIT license.

