Download the PHP package yalesov/zf2-phing-task without Composer
On this page you can find all versions of the php package yalesov/zf2-phing-task. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yalesov/zf2-phing-task
More information about yalesov/zf2-phing-task
Files in yalesov/zf2-phing-task
Package zf2-phing-task
Short Description A collection of Phing Tasks for a ZF2 app.
License ISC
Homepage https://github.com/yalesov/zf2-phing-task
Informations about the package zf2-phing-task
zf2-phing-task
A collection of Phing Tasks for a ZF2 app.
Note: it will look for config/application.config.yml instead of
config/application.config.php on bootstrap. If you use PHP config files,
you'll have to change the code in each Task's main() method.
Installation
Phing is not bundled with this package.
You can install it through Composer and use the CLI at vendor/bin/phing:
or through PEAR and use the CLI at phing:
Usage
You must initialize an instance of your Zf2 application through ZfTask before using any of the remaining Tasks.
ZfTask
Bootstrap the ZF2 application using the file foo/bootstrap.php. The bootstrap file must return an instance of Zend\Mvc\Application.
foo/bootstrap.php:
DoctrineEntityTask
Generate entities for the EntityManager doctrine.entitymanager.orm_default, base directory at foo/src, with filter Foo\Entity.
DoctrineRepoTask
Generate repositories for the EntityManager doctrine.entitymanager.orm_default, base directory at foo/src, with filter Foo\Entity.
DoctrineProxyTask
Generate proxies for the EntityManager doctrine.entitymanager.orm_default, at directory foo/cache/proxy, with filter Foo\Entity.
DoctrineUpdateTask
Update database schema for the EntityManager doctrine.entitymanager.orm_default.
DoctrineDropTask
Drop all database tables from the connection of the EntityManager doctrine.entitymanager.orm_default.
This Task differs from Doctrine CLI's behavior. It drops ALL tables, not just those found in the metadata mapping files.
TwigTask
Load the Twig template foo/bar.
All versions of zf2-phing-task with dependencies
yalesov/yaml Version 2.*
zendframework/zendframework Version 2.*
yalesov/zf2-doctrine Version 2.*
yalesov/zf2-assetwig Version 3.*