PHP code example of juliardi / yii2-simple-rbac

1. Go to this page and download the library: Download juliardi/yii2-simple-rbac 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/ */

    

juliardi / yii2-simple-rbac example snippets


php composer.phar 

php composer.phar update

    php yii migrate/up --migrationPath=@juliardi/simplerbac/migrations
    

    php yii migrate/up --migrationPath=@juliardi/simplerbac/migrations --db=db2
    

http://yourproject.dev/index.php?r=simplerbac

http://yourproject.dev/index.php?r=simplerbac