PHPackages                             zf2-boiler-app/app-db - 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. zf2-boiler-app/app-db

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

zf2-boiler-app/app-db
=====================

ZF2 BoilerApp Database module

0177PHP

Since Oct 7Pushed 12y ago1 watchersCompare

[ Source](https://github.com/zf2-boiler-app/app-db)[ Packagist](https://packagist.org/packages/zf2-boiler-app/app-db)[ RSS](/packages/zf2-boiler-app-app-db/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

ZF2 BoilerApp "Database" module
===============================

[](#zf2-boilerapp-database-module)

[![Build Status](https://camo.githubusercontent.com/502eb3d044bde6eb7c1c743ea14c790de34bdd37e0ce4d01af0c1a892d495d86/68747470733a2f2f7472617669732d63692e6f72672f7a66322d626f696c65722d6170702f6170702d64622e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/zf2-boiler-app/app-db)[![Latest Stable Version](https://camo.githubusercontent.com/bfdd5cbbe3222d8f853a77ff21c2a305d7ad1df28ff2aca96bfb3eeca264533a/68747470733a2f2f706f7365722e707567782e6f72672f7a66322d626f696c65722d6170702f6170702d64622f762f737461626c652e706e67)](https://packagist.org/packages/zf2-boiler-app/app-db)[![Total Downloads](https://camo.githubusercontent.com/8499aa8e862606b35546406000d9f66bdf157e8ef485c5d71994b5f7b5f51f87/68747470733a2f2f706f7365722e707567782e6f72672f7a66322d626f696c65722d6170702f6170702d64622f646f776e6c6f6164732e706e67)](https://packagist.org/packages/zf2-boiler-app/app-db)[![Code coverage](https://camo.githubusercontent.com/d88ad14609fc28b80da24e0c2f47229a8caecd3d6b7a71b5a25f6d286e839596/68747470733a2f2f7261772e6769746875622e636f6d2f7a66322d626f696c65722d6170702f6170702d746573742f6d61737465722f726573736f75726365732f3130302532352d636f64652d636f7665726167652e706e67 "100% code coverage")](https://camo.githubusercontent.com/d88ad14609fc28b80da24e0c2f47229a8caecd3d6b7a71b5a25f6d286e839596/68747470733a2f2f7261772e6769746875622e636f6d2f7a66322d626f696c65722d6170702f6170702d746573742f6d61737465722f726573736f75726365732f3130302532352d636f64652d636f7665726167652e706e67)

NOTE : This module is in heavy development, it's not usable yet. If you want to contribute don't hesitate, I'll review any PR.

Introduction
------------

[](#introduction)

**ZF2 BoilerApp "Database" module** is a Zend Framework 2 module that provides database core of ZF2 Boiler-App

Requirements
------------

[](#requirements)

- [Zend Framework 2](https://github.com/zendframework/zf2) (latest master)
- [Doctrine 2 ORM Module](https://github.com/doctrine/DoctrineORMModule) (latest master)

Installation
------------

[](#installation)

### Main Setup

[](#main-setup)

#### By cloning project

[](#by-cloning-project)

1. Clone this project into your `./vendor/` directory.

#### With composer

[](#with-composer)

1. Add this project in your composer.json:

    ```
    "require": {
        "zf2-boiler-app/app-db": "1.0.*"
    }
    ```
2. Now tell composer to download **ZF2 BoilerApp "Database" module** by running the command:

    ```
    $ php composer.phar update
    ```

#### Post installation

[](#post-installation)

1. Enabling BoilerAppDb and Doctrine modules in your `application.config.php` file.

    ```
    return array(
        'modules' => array(
            // ...
            'DoctrineModule',
            'DoctrineORMModule',
            'BoilerAppDb',
        ),
        // ...
    );
    ```
2. Allowing Mysqli reconnexion in php.ini

    ```
    mysqli.reconnect = On
    ```

Features
--------

[](#features)

#### Doctrine

[](#doctrine)

###### Commons

[](#commons)

- Repositories abstract factory
- Support entity's date of create and update

###### DBAL types

[](#dbal-types)

- Email
- Md5 hash
- Enum

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0cd480ea3050a483f3e08c365a6d847402b4edb110d706111d13ef33b845ef9f?d=identicon)[neilime](/maintainers/neilime)

---

Top Contributors

[![neilime](https://avatars.githubusercontent.com/u/314088?v=4)](https://github.com/neilime "neilime (35 commits)")

### Embed Badge

![Health badge](/badges/zf2-boiler-app-app-db/health.svg)

```
[![Health](https://phpackages.com/badges/zf2-boiler-app-app-db/health.svg)](https://phpackages.com/packages/zf2-boiler-app-app-db)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.3k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M543](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M209](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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