Mautic Finder
Mautic Finder provides a class to locate a Mautic installation in a given path.
Usage
$mauticFinder = new \MauticFinder\MauticFinder();
if ($mauticFinder->locateRoot(getcwd())) {
$mauticRoot = $mauticFinder->getMauticRoot();
$composerRoot = $mauticFinder->getComposerRoot();
...
}
License
GPL-2.0+