PHP code example of umanit / 2fa-sms

1. Go to this page and download the library: Download umanit/2fa-sms 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/ */

    

umanit / 2fa-sms example snippets


// config/bundles.php
return [
    Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
    Scheb\TwoFactorBundle\SchebTwoFactorBundle::class => ['all' => true],
    Umanit\TwoFactorSms\UmanitTwoFactorSmsBundle::class => ['all' => true],
];