nickveenhof/mautic-finder

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

0.1.0 2020-04-08 05:51 UTC

This package is auto-updated.

Last update: 2024-04-10 18:55:18 UTC


README

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+