nickveenhof/mautic-finder

Helper class to locate a Mautic installation from a given path.


License
GPL-2.0+

Documentation

Mautic Finder

Travis Packagist

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+