
| Current Path : /var/www/html/dinarosun/vendor/webflo/drupal-finder/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/dinarosun/vendor/webflo/drupal-finder/README.md |
# Drupal Finder [](https://github.com/webflo/drupal-finder/actions/workflows/ci.yml) [](https://packagist.org/packages/webflo/drupal-finder) Drupal Finder provides a class to locate a Drupal installation based on Composer metadata. ## Usage ```PHP $drupalFinder = new \DrupalFinder\DrupalFinderComposerRuntime(); $drupalRoot = $drupalFinder->getDrupalRoot(); $composerRoot = $drupalFinder->getComposerRoot(); $vendorDir = $drupalFinder->getVendorDir(); ``` ## Examples - [Drush](https://github.com/drush-ops/drush) - [phpstan-drupal](https://github.com/mglaman/phpstan-drupal) ## License GPL-2.0+