1. Go to this page and download the library: Download alfaqosry/sso-clientup 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/ */
alfaqosry / sso-clientup example snippets
use Alfaqosry\SsoClientup\SsoClient;
$sso = new SsoClient();
// Login user
$response = $sso->login('username', 'password');
if ($response->success) {
echo "Login berhasil!";
} else {
echo "Login gagal: " . $response->message;
}