easybib / zf1module-installer
An installer for ZendFramework(1) modules (WIP).
Installs: 33
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Type:composer-installer
Requires
- php: >=5.3.0
- composer-plugin-api: 1.0.0
Requires (Dev)
This package is not auto-updated.
Last update: 2024-10-26 13:41:45 UTC
README
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.