Skip to content
This is a class of php QR Code, This library helps you generate QR codes in a jiffy.
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update FUNDING.yml Sep 21, 2019
Subsidiary Add files via upload Sep 13, 2019
src add Output a image to either the file Sep 2, 2019
tests testQRCodeData() testQRCodeFile() Sep 2, 2019
.travis.yml Update .travis.yml Sep 2, 2019
LICENSE
README.md UP Sponsor Sep 21, 2019
ZH.README.md Update ZH.README.md Sep 15, 2019
bootstrap.php
codecov.yml
composer.json Update composer.json Aug 3, 2019
package.json
phpunit.xml.dist Update phpunit.xml.dist Aug 24, 2019

README.md

QRCode

This is a class of php QR Code, This library helps you generate QR codes in a jiffy.

中文文档

Travis CI

Travis-ci

codecov

codecov

Packagist

Version Downloads

Github

Downloads Size tag license languages

Installation

Use Composer to install the library.

    $ 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.

Sponsor

Author

weibo: yakeing

twitter: yakeing

You can’t perform that action at this time.