easybib/zf1module-installer

ZendFramework(1) 模块的安装程序(WIP)。

安装: 33

依赖者: 0

建议者: 0

安全: 0

星级: 2

观察者: 1

分支: 0

类型:composer-installer

0.3.0 2013-09-06 16:03 UTC

This package is not auto-updated.

Last update: 2024-09-14 13:07:34 UTC


README

Build Status

Latest Stable Version

Total Downloads

Montly Downloads

Daily Downloads

Latest Unstable Version

这是一个工作进展中的项目 - 因此请小心处理!

它是如何工作的?

例如,你有一个名为 admin 的模块

你将以下 composer.json 文件放入此模块中

{
    "name":"example/admin",
    "description": "Admin module!",
    "type":"zf1-module",
    "authors":[
        {
            "name":"John Doe",
            "email":"john@example.org"
        }
    ],
    "require": {
        "php": ">=5.3.0",
        "easybib/zf1module-installer": "*"
    }
}

另一个重要部分是 easybib/zf1module-installer

在你的应用程序中,将你的模块作为依赖项添加

{
    "name":"example/main",
    "description": "My application",
    "authors":[
        {
            "name":"John Doe",
            "email":"john@example.org"
        }
    ],
    "require": {
        "php": ">=5.3.0",
        "example/admin": "*"
    }
}

当你运行 php composer.phar install 时,admin 模块应该出现在你的模块文件夹中。