php-framework-benchmark icon indicating copy to clipboard operation
php-framework-benchmark copied to clipboard

[yii-2.0] Remove composer-asset-plugin & skip Bower install.

Open yidas opened this issue 7 years ago • 4 comments

composer global require "fxp/composer-asset-plugin" command would force to install package into user's Composer global package.

php-framework-benchmark goals to run the ab-test for each framework's Hello controller without rendering view. According to this, I recommend to remove that plugin command and set up a minimum Composer installation.

yidas avatar Jul 24 '17 08:07 yidas

You could use https://asset-packagist.org/ instead, which would provide a full install of Yii 2 without any composer hacks.

cebe avatar Jul 24 '17 12:07 cebe

@cebe, thanks.

I'm changing to use Asset-Packagist solution for this, which Yii2 could still keep complete packages.

yidas avatar Jul 24 '17 13:07 yidas

why did you remove composer.lock?

cebe avatar Jul 24 '17 15:07 cebe

@cebe, thanks again!

I have filled up the updated composer.lock file.

yidas avatar Jul 24 '17 16:07 yidas