add support for composer dependencies in both projects and libs