easybib/zf1module-installer

An installer for ZendFramework(1) modules (WIP).

0.3.0 2013-09-06 16:03 UTC

This package is not auto-updated.

Last update: 2024-11-09 13:48:46 UTC


README

Build Status

Latest Stable Version

Total Downloads

Montly Downloads

Daily Downloads

Latest Unstable Version

This is a WIP – so handle with care!

How does it work?

Say, you have a module called admin:

You put the following composer.json file into this module:

{
    "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": "*"
    }
}

The other important bit is easybib/zf1module-installer.

In your application, add your own module as a dependency:

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

When you run php composer.phar install, the admin module should end up in your modules folder.