-
-
Notifications
You must be signed in to change notification settings - Fork 265
Closed
Labels
Description
Currently, when including the project via Composer as a dependency, it isn't possible to run it: including the Composer autoloader from bin/metrics.php
fails, since it is assumed that the project is a root-level project, with its own vendor directory.
To solve that, the following changes would be necessary:
- Tell Composer to move the metrics.php to the Composer vendor/bin dir (optionally, losing the .php extension)
- Rewrite the Composer autoloader inclusion in
metrics.php
so it would work when the project is included as a dependency
If you'd like, I could try creating a pull request for this.