The complexity of isolating or scoping PHP dependencies is the main reason why WordPress developers don't rely on re-usable packages. Ideally, this would be solved at the Composer level like NPM does it for Node.js. Like PHAR but for libraries.
The complexity of isolating or scoping PHP dependencies is the main reason why WordPress developers don't rely on re-usable packages. Ideally, this would be solved at the Composer level like NPM does it for Node.js. Like PHAR but for libraries.