PHP Classes

File: uploady/vendor/robthree/twofactorauth/docs/qr-codes/

Recommend this page to a friend!
  Classes of Faris AL-Otabi   Uploady PHP Upload File to MySQL   uploady/vendor/robthree/twofactorauth/docs/qr-codes/   Download  
File: uploady/vendor/robthree/twofactorauth/docs/qr-codes/
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: Uploady PHP Upload File to MySQL
Store file upload details in a MySQL database
Author: By
Last change: Update of uploady/vendor/robthree/twofactorauth/docs/qr-codes/
Date: 4 months ago
Size: 1,058 bytes


Class file image Download

layout: post title: endroid/qr-code


In order to use this provider, you will need to install the library at version 3 and its dependencies

composer require endroid/qr-code ^3.0

You will also need the PHP gd extension installing.

Optional Configuration

Argument | Default value ------------------------|--------------- $bgcolor | 'ffffff' $color | '000000' $margin | 0 $errorcorrectionlevel | 'H'


If you make use of EndroidQrCodeWithLogoProvider then you have access to the setLogo function on the provider so you may add a logo to the centre of your QR code.

use RobThree\Auth\TwoFactorAuth\Providers\Qr\EndroidQrCodeWithLogoProvider;

$qrCodeProvider = new EndroidQrCodeWithLogoProvider();


You can see how to also set the size of the logo in the source code.