Maestro, the Composer reflection library. Use Maestro to get information about your project from Composer
"repositories": [
{
"type": "vcs",
"url": "https://github.com/colincode/maestro.git"
}
]
"maestro": "dev-master"
$maestro = new Maestro(PROJECT_ROOT);
$name = $maestro->getName();
$authors = $maestro->getAuthors();
$license = $maestro->getConfigValue('license');
$psr4 = $maestro->getAutoloadPsr4();
$base = $maestro->getBaseDir(__NAMESPACE__);