Download the PHP package zendserverapi/zendserverapi-phing without Composer
On this page you can find all versions of the php package zendserverapi/zendserverapi-phing. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zendserverapi/zendserverapi-phing
More information about zendserverapi/zendserverapi-phing
Files in zendserverapi/zendserverapi-phing
Package zendserverapi-phing
Short Description Zend Server API Phing Wrapper
License MIT
Homepage https://github.com/iwalz/zendserverapi-phing
Informations about the package zendserverapi-phing
Zend Server API - phing integration
=====================================
For usage instructions, see the Wiki section
Installation via composer
To install the Zend Server API phing integration, your composer.json
file should look like this:
{ "repositories": [ { "type": "composer", "url": "http://packages.zendframework.com/" } ], "require": { "zendserverapi/zendserverapi-phing": "dev-master" }, "minimum-stability": "dev" }
Run composer.phar install
from your project root and you should be ready to go.
Please note:You don't really need the repositories section in your composer.json
- the side effect will be, that you've the whole zf2 framework installed via composer. The library still works as expected, but there will be an overhead during installation.
Configure your servers
You can find the configuration file, starting from your project root, at vendor/zendserverapi/zendserverapi/config/config.php
.
A valid configfile may look like this:
Please note: you can manage multiple servers within this configfile:
The attribute server
is available on every provided phing task from the zendserverapi. If you keep it empty the general section will be used.
Make phing tasks available
It's quite easy to make the phing tasks available - just 1 line of code in your build file (below the project section):
And you can start using the provided tasks.