first commit

This commit is contained in:
2024-07-15 12:33:27 +02:00
commit ce50ae282b
22084 changed files with 2623791 additions and 0 deletions

25
vendor/webflo/drupal-finder/README.md vendored Normal file
View File

@@ -0,0 +1,25 @@
# Drupal Finder
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/webflo/drupal-finder/ci.yml)](https://github.com/webflo/drupal-finder/actions/workflows/ci.yml)
[![Packagist](https://img.shields.io/packagist/v/webflo/drupal-finder.svg)](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+