PHP code example of apurba-labs / laravel-agl
1. Go to this page and download the library: Download apurba-labs/laravel-agl 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/ */
apurba-labs / laravel-agl example snippets
use ApurbaLabs\Agl\Facades\AGL;
$result = AGL::policy('alumni-verification')
-> ]);
if ($result['approved']) {
// Continue workflow
}