PHP code example of pigs / admin-acl-setting

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

    

pigs / admin-acl-setting example snippets


'providers' => ServiceProvider::defaultProviders()->merge([
        /*
         * Package Service Providers...
         */

        /*
         * Application Service Providers...
         */
        ...
        Pigs\AdminAclSetting\Provides\AdminAclSettingProvider::class,
        ...
    ])->toArray(),
bash
php artisan vendor:publish --tag="adm_acl_setting_asset"
bash
php artisan vendor:publish --tag="adm_acl_setting_config"
bash
php artisan vendor:publish --tag="adm_acl_setting_migration"
bash
php artisan adm-acl:seed-permission