PHP code example of rakshitbharat / licensee
1. Go to this page and download the library: Download rakshitbharat/licensee 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/ */
rakshitbharat / licensee example snippets
composer
'aliases' => [
'PermissionFunction' => Modules\PermissionBuilder\ViewPermission\PermissionFunction::class,
],
PermissionFunction::checkDeclaredPermissionURL();
if (PermissionFunction::checkDeclaredPermissionView
('userView_update')) {
Echo 'access granted';
}else{
Echo 'access denied';
}