1. Go to this page and download the library: Download code4mk/kauth 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/ */
code4mk / kauth example snippets
// guard name will be user table name
Kauth::guard("users")
// laravel socialite system
// credential will be only email
Kauth::guard("users")->socialite()
->attempt(["email"=>"[email protected]"]);
// your all desired credentials
// password credentail need
Kauth::guard("users")
->attempt(["email"=>"[email protected]","password"=>1234])
attempt(["usernames"=>["id","email","name"],"username"=>"request query for username","password=>123456"]);