yakeing / qrcode
This is a class of php QR Code
Fund package maintenance!
yakeing
github.com/yakeing/Documentation/blob/main/Sponsor/README.md
Installs: 100
Dependents: 0
Suggesters: 0
Security: 0
Stars: 59
Watchers: 2
Forks: 6
Type:symfony-bundle
Requires
- php: >=5.6
- ext-openssl: *
Requires (Dev)
- phpunit/phpunit: 5.7
README
This is a class of php QR Code, This library helps you generate QR codes in a jiffy.
Travis CI badge
codecov badge
Github badge
Installation
Use Composer to install the library. Of course, You can go to Packagist to view.
$ composer require yakeing/qrcode
QRCode init
$text //Enter text (string) $pixel //Output image size (ini) $icon //Small icon (url) (Must be a square image, otherwise the image will be distorted) $distinguish //Recognition rate (L=7% , M=15% , Q=25% , H=30%) $type //Output image format (jpg/png) (Due to GIF copyright dispute) $margin //Margin white edge (ini 0-4) $color //RGB Colour array('255,255,255', '0,0,0'); Hexadecimal Colour FF0000,000000 $stream //Output source code (true/false) $spec //specification Matrix with 0-40 specifications $OutputPath //Path to generate pictures qrcode::image($text, $pixel, $icon, $distinguish, $type, $margin, $color, $stream, $OutputPath);
Sponsor
If you've got value from any of the content which I have created, then I would very much appreciate your support by payment donate.
Author
weibo: yakeing
twitter: yakeing