ZF2 Module for list used\installed modules
Get information from composer.lock file and display
- Zend Framework 2 (latest master)
- CLImate
- Composer lock parser
- List used modules/libraries/dependencies in console [DONE]
- List used modules in admin (backend) zone [IN PROGRESS]
Clone this project into your ./vendor/
directory.
Add this project in your composer.json:
"require": {
"t4web/modules": "0.3.*"
}
Enabling it in your application.config.php
file.
<?php
return array(
'modules' => array(
// ...
'Modules',
),
// ...
);
$ php public/index.php modules init
For list modules run
$ php public/index.php modules list
result will be like this:
For running tests you need install and intialize codeception, after this create/update codeception.yml in you project root and add Modules tests, like this:
include:
- vendor/t4web/modules # <- add modules tests to include
paths:
log: tests/_output
settings:
colors: true
memory_limit: 1024M
After this you may run functional tests from your project root
$ codeception run