Download the PHP package tuncaybahadir/quar without Composer
On this page you can find all versions of the php package tuncaybahadir/quar. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tuncaybahadir/quar
More information about tuncaybahadir/quar
Files in tuncaybahadir/quar
Package quar
Short Description A simple QR Code generation tool for your projects with Laravel 11, 12 versions, php 8.3 and 8.4
License MIT
Homepage https://github.com/tuncaybahadir/quar
Informations about the package quar
Qr Code Generator For Laravel
Introduction
Quar is a new package that includes compatibility for Laravel 11 and Php 8.3 and higher versions of the packages provided by [Bacon/BaconQrCode] (https://github.com/Bacon/BaconQrCode) and [simplesoftwareio/simple-qrcode] (https://github.com/SimpleSoftwareIO/simple-qrcode).
Requirements
- PHP 8.3+
- Laravel 11+
Installing
Use Composer to install it:
Simple usage
And use it in your blade template this way:
Simple usage Response
Example of Setting Qr Code Size
Qr Code Size Response
Example of Setting Qr Code Detection Markers
Available Markers Type
square
: Default Marker Typerounded
circle
Qr Code Markers Response
Example of Setting Qr Code Body Pattern Style
Available Body Pattern
square
: Default Patterndot
round
Qr Code Body Pattern Style Response
Example of Setting Qr Code Gradient Coloring
Available Gradient type
vertical
horizontal
diagonal
inverse_diagonal
radial
Qr Code Gradient Coloring Response
Qr Code Coloring Markers Example 1
Qr Code Coloring Markers Response 1
Qr Code Hex Code With Coloring Markers Example 2
Qr Code Hex Code With Coloring Markers Response 2
Qr Code Coloring Example 1
Qr Code Coloring Response 1
Qr Code Hex Code With Coloring Example 2
Qr Code Hex Code With Coloring Response 2
Example Of Coloring Qr Code Background With Hex Code 1
Example Of Coloring Qr Code Background With Hex Code 1
Example Of Coloring The Background Of Qr Code 2
Sample Result Of Coloring The Background Of Qr Code Response 2
Qr Code And Markers Coloring Example
Qr Code and Marker Coloring Response
Example of Saving Qr Code as a Png File
And use it in your blade template this way:
Saving Qr Code as a File Response
Example of Compressing and Saving a Qr Code as a Png File
Example of Adding Logo on QR Code
Attention !!! : Due to a bug in the BaconQrCode package, you must set the margin value to 1 or higher during logo insertion. Otherwise the qr code is generated incorrectly.
Example 1:
Example 2:
And use it in your blade template this way:
Adding Logo on Qr Code Sample Code Result 1:
Adding Logo on Qr Code Sample Code Result 2:
Authors
Contributing
Pull requests and issues are more than welcome.