Skip to content

emergesource/maestro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maestro

Maestro, the Composer reflection library. Use Maestro to get information about your project from Composer

Installation via composer

"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/colincode/maestro.git"
    }
]
    "maestro": "dev-master"

Create a new Maestro object

    $maestro = new Maestro(PROJECT_ROOT);

Get project name

    $name = $maestro->getName();

Get project authors

    $authors = $maestro->getAuthors();

Get composer option that does not have a convenience function for it

    $license = $maestro->getConfigValue('license');

Get composer PSR4 autoload mapping info

    $psr4 = $maestro->getAutoloadPsr4();

Get the base directory of a namespace

    $base = $maestro->getBaseDir(__NAMESPACE__);

About

Maestro the Composer reflection library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages