webflo/drupal-finder
Helper class to locate a Drupal installation.
Maintainers
1.3.1
2024-06-28 13:45 UTC
Requires
- php: >=8.1
- composer-runtime-api: ^2.2
Requires (Dev)
- mikey179/vfsstream: ^1.6
- phpunit/phpunit: ^10.4
- symfony/process: ^6.4
Suggests
None
Provides
None
Conflicts
None
Replaces
None
GPL-2.0-or-later 73045060b0894c77962a10cff047f72872d8810c
- Florian Weber <florian.woop@webflo.org>
README
👁 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+
