phpbrew/phpbrew — pull request #392 by tristanlins (2014-11-11 11:26:45+00:00)
Title: Allow usage as dependency of another project.

If installed as dependency, the `autoload.php` is not located in the phpmd root dir.
The snipped is stolen from the composer executable, see https://github.com/composer/composer/blob/master/src/bootstrap.php#L13-L23