PHP code example of hypejunction / acl_builder_api

1. Go to this page and download the library: Download hypejunction/acl_builder_api 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/ */

    

hypejunction / acl_builder_api example snippets


use hypeJunction\Access\Collection;
$entity->access_id = Collection::create(array($user1, $user2))->getCollectionId();