Skip to content

OliveCMS/Installed_Packages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installed_Packages

get installed composer packages

Installation

Install the latest version with

$ composer require olive-cms/installed-packages

Basic Usage

$vendor_path = '/path/to/vendor';
require_once $vendor_path . '/autoload.php';
use Olive\Tools\Packages;

$list = Packages::getPackages($vendor_path);

Requirements

  • PHP 5.5+.

License

olive-cms/installed-packages is licensed under the MIT license.