How can get filesystem path of composer package?
composer.json example:
{ \"require\" : { \"codeception/codeception\" : \"@stable\",
Here is my solution to get the vendor path without using the $composer object :
getFileName() ); if($vendorPath && is_dir($vendorPath)) { return $vendorPath . '/'; } throw new \RuntimeException('Unable to detect vendor path.'); } }