Yii2 advanced template with RBAC or without RBAC

Hi,

Which way is posible and best one :

1st way :

I want to use/install the advanced template of Yii 2.0 :


composer global require "fxp/composer-asset-plugin:^1.3.1"

composer create-project --prefer-dist yiisoft/yii2-app-advanced yii2-app

and If it is possible I want to install RBAC system on the advanced template when I need it :


composer require mdmsoft/yii2-admin "~2.0"

2nd way :

Directly I install the Advanced Application Template With RBAC of Yii 2.0 even if I do not need RBAC:


php composer.phar global require "fxp/composer-asset-plugin:1.1.2" php

composer.phar create-project --prefer-dist dezmont765/yii2-rbac-advanced-template

Which way is a best one and easy ?

Thanks

Or first time if I install only ‘yii2-app-advanced yii2-app’ and I use it för some time and when I need, I can use ‘RBAC’ in the future : is it possible ?

I installed only ‘yii2-app-advanced yii2-app’ and after I migrated ‘RBAC’

whitout problem :D