I am trying to modularize my PHP project so that some parts can be used in other projects too.
Obviously upon little googling I came across composer. Everywhere I look it is said that it's only a backend package manager. Then I looked up a frontend package manager and came across bower.
What I would like to know is why I can't use PHP for JavaScript management and the other way around. As far as I can tell, both libraries only copy my files to my project. Why do I need them both?