t4web / modules
ZF2 Module for list used/installed modules.
0.3.0
2015-01-03 10:33 UTC
Requires
- php: >=5.3.3
- league/climate: ~2.0
- t4web/composer-lock-parser: 1.0.*
- zendframework/zendframework: 2.3.*
Requires (Dev)
- codeception/codeception: 2.*
- phpunit/phpunit: 4.2.*
README
ZF2 Module for list used\installed modules
Introduction
Get information from composer.lock file and display
Requirements
- Zend Framework 2 (latest master)
- CLImate
- Composer lock parser
Features / Goals
- List used modules/libraries/dependencies in console [DONE]
- List used modules in admin (backend) zone [IN PROGRESS]
Installation
Main Setup
By cloning project
Clone this project into your ./vendor/
directory.
With composer
Add this project in your composer.json:
"require": { "t4web/modules": "0.3.*" }
Post installation
Enabling it in your application.config.php
file.
<?php return array( 'modules' => array( // ... 'Modules', ), // ... );
Initialize
$ php public/index.php modules init
Usage
For list modules run
$ php public/index.php modules list
result will be like this:
Testing
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