azraf
(Tameemdh)
1
What is the best practice to update the framework files?
- Should I replace the whole vendor folder?
or
- Only replace the vendor/yiisoft folder?
or
- I should replace the vendor/yiisoft/yii2 folder?
Also, is there any way to update the framework files (with GitHub) direct using git command?
Thanks.
samdark
(Alexander Makarov)
2
The best way is to use Composer.
azraf
(Tameemdh)
3
Thanks for your hints.
I was confused about what command to give, as I have used composer in only 1 or 2 project.
I found the exact command. It works for me.
C:/xampp/php/php.exe C:/ProgramData/ComposerSetup/bin/composer.phar update