We already use Composer for managing PHP dependencies. Having something like this for javascript would be useful as well to avoid need for manual library updates, however such approach first need to be investigated and checked for feasibility.
Things to check:
- Can we cover all javascript libraries we use?
- if we can't find most of the libs packaged, it's probably not worth of the effort
- What package manager to use? Some choices (
- Bower - Node based package manager
- BowerPHP - Composer ready reimplementation of above
- use javascript packages from components project (eg. jQuery or jQuery-cookie)
We already use Composer for managing PHP dependencies. Having something like this for javascript would be useful as well to avoid need for manual library updates, however such approach first need to be investigated and checked for feasibility.
Things to check: