get installed composer packages
Install the latest version with
$ composer require olive-cms/installed-packages
$vendor_path = '/path/to/vendor';
require_once $vendor_path . '/autoload.php';
use Olive\Tools\Packages;
$list = Packages::getPackages($vendor_path);
- PHP 5.5+.
olive-cms/installed-packages is licensed under the MIT license.