PHPackages                             4zend/zpropel - 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. [Database &amp; ORM](/categories/database)
4. /
5. 4zend/zpropel

ActiveLibrary[Database &amp; ORM](/categories/database)

4zend/zpropel
=============

Use Propel ORM with Zend Framework 2

2152PHP

Since Apr 15Pushed 12y ago4 watchersCompare

[ Source](https://github.com/MarshallHouse/zpropel)[ Packagist](https://packagist.org/packages/4zend/zpropel)[ RSS](/packages/4zend-zpropel/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

zpropel
=======

[](#zpropel)

Propel ORM module for Zend Framework 2

### Install Via Composer

[](#install-via-composer)

`"require": { "4zend/zpropel": "dev-master" }`

### Get Started

[](#get-started)

View the demo directory for an example project and then create your project files at: `data/zpropel/proxy`

- Add "Zpropel" to the modules key in config/application.config.php
- Write your project files (schema.xml, runtime-conf.xml, build.properties) in data/zpropel/proxy
- CD to your ZF2 application's public/ directory and run: `php index.php propel-gen`

### Usage

[](#usage)

Once your project is "built" you can access the classes from anywhere using the "Zpropel" namespace.

i.e. `$author = new \Zpropel\Author();`

### Events

[](#events)

Zpropel comes with a Propel behavior designed to trigger Propel "hooks" as ZF2 EventManager events.

i.e. Observe a shared event

```
$eventManager->getSharedManager()->attach('zpropel', 'author_preSave', function($e){
    $author = $e->getTarget();
    // do something
}, 100);`

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/496c5622fe50476f56c6f024b2cd56879ab6ec1665d473ece917029eb092264e?d=identicon)[MarshallHouse](/maintainers/MarshallHouse)

### Embed Badge

![Health badge](/badges/4zend-zpropel/health.svg)

```
[![Health](https://phpackages.com/badges/4zend-zpropel/health.svg)](https://phpackages.com/packages/4zend-zpropel)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M114](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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