Simple yiiframework environment extension. It supports composer.
Check under example folder
For config files check under config folder.
Environment settings u should set a variable path for cli and virtual server setting
set env YII_APPLICATION_ENV="production"
set env YII_APPLICATION_ENV="development"
set env YII_APPLICATION_ENV="staging"
set env YII_APPLICATION_ENV="test"