t4web/modules
Composer 安装命令:
composer require t4web/modules
包简介
ZF2 Module for list used/installed modules.
关键字:
README 文档
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.phpfile.
<?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
统计信息
- 总下载量: 38
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2014-09-21