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 ?