PHP code example of zeroc0d3lab / acl

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

    

zeroc0d3lab / acl example snippets


// config/app.php
'providers' => [
    ...
    Zeroc0d3lab\ACL\Providers\AclServiceProvider::class,
];

// config/app.php
'aliases' => [
    ...
    'ACL' => Zeroc0d3lab\ACL\Facades\AclFacade::class,
];