PHP code example of heartsentwined / zf2-phing-task
1. Go to this page and download the library: Download heartsentwined/zf2-phing-task library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
heartsentwined / zf2-phing-task example snippets
/* do some bootstrap */
$application = Zend\Mvc\Application::init(/* config array */);
return $application;
xml
<project>
<target>
<name="ZfTask" />
<zf bootstrap="foo/bootstrap.php" />
</target>
</project>