Download the PHP package dominik-eller/laravel-qr-code without Composer
On this page you can find all versions of the php package dominik-eller/laravel-qr-code. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dominik-eller/laravel-qr-code
More information about dominik-eller/laravel-qr-code
Files in dominik-eller/laravel-qr-code
Package laravel-qr-code
Short Description Generate QR Codes
License MIT
Homepage https://github.com/dominik-eller/laravel-qr-code
Informations about the package laravel-qr-code
Generate QR Codes
This package allows you to generate QR Codes.
Installation
You can install the package via composer:
Usage
All QR codes are created via the QrCode facade. Call generate() to get a binary string, or toBase64() to get a data URI ready for use in an <img> tag.
URL
Text
Opening the QR code encodes a mailto:[email protected] link.
Phone number
Opening the QR code encodes a tel:+43123456789 link.
Wi-Fi
WifiQrCode is not registered by default and must be added first:
Output formats
The default output format is PNG. Use setFormat() to switch to SVG or EPS:
Base64 data URI
Use toBase64() to embed the QR code directly in HTML:
Custom eye colors
The three finder-pattern squares ("eyes") can be colored independently:
Custom types
Register your own QR code type by extending QrCode and implementing getData():
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please report security vulnerabilities by email to [email protected] instead of using the issue tracker.
Credits
- Dominik Eller
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-qr-code with dependencies
ext-gd Version *
spatie/laravel-package-tools Version ^1.16
php Version ^8.3
illuminate/contracts Version ^12.0|^13.0