PHP code example of gusmanwidodo / auth-kit-otp

1. Go to this page and download the library: Download gusmanwidodo/auth-kit-otp 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/ */

    

gusmanwidodo / auth-kit-otp example snippets


'ttl'    => 300, // seconds a code stays valid
'length' => 6,   // number of digits
bash
php artisan migrate
bash
php artisan vendor:publish --tag=auth-kit-otp-config