1. Go to this page and download the library: Download matijabelec/acl-php 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/ */
matijabelec / acl-php example snippets
use MatijaBelec\Acl\Acl;
$acl = new Acl();
// create role hierarchy
$acl->addRole('guest');
$acl->addRole('user', 'guest');
$acl->addRole('administrator', 'user');