hhvm-autoload icon indicating copy to clipboard operation
hhvm-autoload copied to clipboard

Support providing a custom root

Open karoun opened this issue 7 years ago • 1 comments

Our project stores PHP dependencies in vendor/composer (since we share vendor/ between JavaScript and PHP). Better handling for custom roots was introduced because of #10, but doubly-nested vendor directories still aren't supported because the root is assumed to be the parent directory of vendor-dir:

https://github.com/hhvm/hhvm-autoload/blob/2808fe06fa850532270c54155c0bdab1bf0f67da/src/ComposerPlugin.php#L37-L40

Should a config key be introduced to fix this, or would re-purposing relativeAutoloadRoot be sufficient?

karoun avatar Jun 25 '18 19:06 karoun

a

facebookxx avatar Apr 18 '20 05:04 facebookxx