3 [![Build Status](https://travis-ci.org/webflo/drupal-finder.svg?branch=master)](https://travis-ci.org/webflo/drupal-finder)
5 Drupal Finder provides a class to locate a Drupal installation in a given path.
10 $drupalFinder = new \DrupalFinder\DrupalFinder();
11 if ($drupalFinder->locateRoot(getcwd())) {
12 $drupalRoot = $drupalFinder->getDrupalRoot();
13 $composerRoot = $drupalFinder->getComposerRoot();
20 - [Drupal Console Launcher](https://github.com/hechoendrupal/drupal-console-launcher/blob/master/bin/drupal.php)
21 - [Drush Shim](https://github.com/webflo/drush-shim) (with webflo/drupal-finder:^0.0.1)