Answer the question
In order to leave comments, you need to log in
Yii 1.* how to use yiibooster via composer?
what I did - downloaded using composer yii
installed the application via webapp
added via composer to the folder with the yiibooster framework
Attention - the question is: how can I connect yiibooster to the site? before, I just threw a folder in extensions. and how can I specify that yiibooster is in the folder with the framework?
Answer the question
In order to leave comments, you need to log in
yiibooster is installed in the vendor if you installed via composer. Just take it and spoil it from there in the same way as from any other folder, which is the problem.
The gist is this:
Yii::setPathOfAlias('bootstrap','../vendor/clevertech/yii-booster/src');
$this->setImport(array(
...
'bootstrap.components.*',
));
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question