Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 787 Bytes

File metadata and controls

25 lines (16 loc) · 787 Bytes

Drupal Finder

GitHub Workflow Status Packagist

Drupal Finder provides a class to locate a Drupal installation based on Composer metadata.

Usage

$drupalFinder = new \DrupalFinder\DrupalFinderComposerRuntime();

$drupalRoot = $drupalFinder->getDrupalRoot();
$composerRoot = $drupalFinder->getComposerRoot();
$vendorDir = $drupalFinder->getVendorDir();

Examples

License

GPL-2.0+