nickveenhof/mautic-finder

一个辅助类,用于从给定路径定位Mautic安装。

0.1.0 2020-04-08 05:51 UTC

This package is auto-updated.

Last update: 2024-09-10 19:57:12 UTC


README

Travis Packagist

Mautic Finder提供了一个类,用于在指定路径中定位Mautic安装。

使用方法

$mauticFinder = new \MauticFinder\MauticFinder();
if ($mauticFinder->locateRoot(getcwd())) {
    $mauticRoot = $mauticFinder->getMauticRoot();
    $composerRoot = $mauticFinder->getComposerRoot();
    ...
}

许可证

GPL-2.0+