PHP code example of lion / authentication

1. Go to this page and download the library: Download lion/authentication library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

lion / authentication example snippets


use Lion\Authentication\Auth2FA;

$auth2fa = new Auth2FA();

$qr = $auth2fa->qr('company_name', 'company_email', 200); // default size of 400