PHPackages                             heartsentwined/zf2-phing-task - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. heartsentwined/zf2-phing-task

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

heartsentwined/zf2-phing-task
=============================

A collection of Phing Tasks for a ZF2 app.

v2.1.3(9y ago)3524ISCPHPPHP &gt;=5.3.3

Since Sep 15Pushed 9y ago1 watchersCompare

[ Source](https://github.com/heartsentwined/zf2-phing-task)[ Packagist](https://packagist.org/packages/heartsentwined/zf2-phing-task)[ Docs](https://github.com/yalesov/zf2-phing-task)[ RSS](/packages/heartsentwined-zf2-phing-task/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (13)Used By (0)

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
============

[](#installation)

[Composer](http://getcomposer.org/):

```
{
  "require": {
    "yalesov/zf2-phing-task": "2.*"
  }
}
```

[Phing](https://github.com/phingofficial/phing) is **not** bundled with this package.

You can install it through Composer and use the CLI at `vendor/bin/phing`:

```
{
  "require": {
    "phing/phing": "*"
  }
}
```

or through PEAR and use the CLI at `phing`:

```
$ pear channel-discover pear.phing.info
$ pear install [--alldeps] phing/phing
```

Usage
=====

[](#usage)

You must initialize an instance of your Zf2 application through **ZfTask** before using any of the remaining Tasks.

ZfTask
------

[](#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`:

```
/* do some bootstrap */
$application = Zend\Mvc\Application::init(/* config array */);
return $application;
```

DoctrineEntityTask
------------------

[](#doctrineentitytask)

Generate entities for the EntityManager `doctrine.entitymanager.orm_default`, base directory at `foo/src`, with filter `Foo\Entity`.

```

```

DoctrineRepoTask
----------------

[](#doctrinerepotask)

Generate repositories for the EntityManager `doctrine.entitymanager.orm_default`, base directory at `foo/src`, with filter `Foo\Entity`.

```

```

DoctrineProxyTask
-----------------

[](#doctrineproxytask)

Generate proxies for the EntityManager `doctrine.entitymanager.orm_default`, at directory `foo/cache/proxy`, with filter `Foo\Entity`.

```

```

DoctrineUpdateTask
------------------

[](#doctrineupdatetask)

Update database schema for the EntityManager `doctrine.entitymanager.orm_default`.

```

```

DoctrineDropTask
----------------

[](#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
--------

[](#twigtask)

Load the Twig template `foo/bar`.

```

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~126 days

Recently: every ~0 days

Total

12

Last Release

3597d ago

Major Versions

1.1.4 → v2.0.02016-07-05

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2252978?v=4)[heartsentwined](/maintainers/heartsentwined)[@heartsentwined](https://github.com/heartsentwined)

---

Top Contributors

[![yalesov](https://avatars.githubusercontent.com/u/20264293?v=4)](https://github.com/yalesov "yalesov (5 commits)")

---

Tags

phing

### Embed Badge

![Health badge](/badges/heartsentwined-zf2-phing-task/health.svg)

```
[![Health](https://phpackages.com/badges/heartsentwined-zf2-phing-task/health.svg)](https://phpackages.com/packages/heartsentwined-zf2-phing-task)
```

###  Alternatives

[phing/phing

PHing Is Not GNU make; it's a PHP project build system or build tool based on Apache Ant.

1.2k21.7M876](/packages/phing-phing)[heartsentwined/zf2-cron

ZF2 cron module

606.8k](/packages/heartsentwined-zf2-cron)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
