fxpio / composer-asset-plugin

NPM/Bower Dependency Manager for Composer
MIT License
893 stars 156 forks source link

Every composer install took me like 20-40 minute having installed this plugin globally so I uninstalled it #313

Closed FantomX1-github closed 6 years ago

FantomX1-github commented 6 years ago

Every composer install took me like 20-40 minute having installed this plugin globally so I uninstalled it, the bad thing is I have no clue it was this plugin as I didn't realize it being installed globally. Affecting total performance of composer.

francoispluchino commented 6 years ago

If you do not use the features of the plugin in a project, the plugin is not enabled, and no performance degradation is observed. On the other hand, if you use features of this plugin, it will add native VCS Repositories of Composer, and unfortunately, this feature is not optimized at all in Composer, above all, if your constraints are wide.

FantomX1-github commented 6 years ago

thanks

francoispluchino commented 6 years ago

Small precision, if you want to have native performance for NPM or Yarn, use Foxy, it's the new version of the Composer Asset Plugin. It's a new project, because the compatibility is breaked, but you can see the issue #93 and this question in the FAQ of Foxy for more information and the difference between the 2 plugins.

FantomX1-github commented 6 years ago

thanks, I might give a Foxy check, because asset plugin used to be good but currently for me its a no go, so I used http://asset-packagist.org regarding bower stuff and my worries went away

francoispluchino commented 6 years ago

Very good service, and they use Composer Asset Plugin internally to solve dependencies.