In order to use it in libraries for modern PHP frameworks (like Drupal 8) it's mandatory to include a composer.json file, so the dependency can be required, installed and autoloaded.
If a file like this isn't included in the repo, the solution will be copying the files within other libraries' repositories (as composer doesn't offer support for git submodules).
In order to use it in libraries for modern PHP frameworks (like Drupal 8) it's mandatory to include a
composer.json
file, so the dependency can be required, installed and autoloaded.If a file like this isn't included in the repo, the solution will be copying the files within other libraries' repositories (as composer doesn't offer support for git submodules).