Registry / utility / webflo-drupal-finder

webflo-drupal-finder

JSON →
library1.3.1phppackagistunverified

Helper class to locate a Drupal installation.

composer require webflo/drupal-finder
INSTALL
IMPORT
SIG · WEBFLO-DRUPAL-FIND
W
webflo-drupal-finder
utilityphpv1.3.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DrupalFinder
use DrupalFinder\DrupalFinder;

Locate the Drupal root directory from the current working directory.

use DrupalFinder\DrupalFinder; $finder = new DrupalFinder(); $root = $finder->locateRoot(getcwd()); echo $root->getPath();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
webflo-drupal-finder — pip install webflo-drupal-finder · libregistry