Skip to content

webflo/drupal-finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7304506 · Jun 28, 2024

History

43 Commits
May 8, 2024
Jun 28, 2024
Jun 28, 2024
May 8, 2024
Nov 24, 2016
Sep 16, 2020
May 8, 2024
Jun 28, 2024
May 8, 2024

Repository files navigation

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+