PHPackages                             driehle/zf2-doctrine-skeleton - 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. [Framework](/categories/framework)
4. /
5. driehle/zf2-doctrine-skeleton

AbandonedArchivedLibrary[Framework](/categories/framework)

driehle/zf2-doctrine-skeleton
=============================

Skeleton Application for ZF2 with Doctrine ORM

270PHP

Since Apr 26Pushed 9y ago2 watchersCompare

[ Source](https://github.com/driehle/zf2-doctrine-skeleton)[ Packagist](https://packagist.org/packages/driehle/zf2-doctrine-skeleton)[ RSS](/packages/driehle-zf2-doctrine-skeleton/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

ZF2 Doctrine Skeleton
=====================

[](#zf2-doctrine-skeleton)

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

[](#introduction)

This is a simple, skeleton application using the ZF2 MVC layer and module systems. This application is meant to be used as a starting place for those looking to get their feet wet with ZF2. The Doctrine ORM Module has been added and can easily be configured to use a SQLite database. Your project is set up in just a few minutes!

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

[](#installation)

### Installation using Composer

[](#installation-using-composer)

The easiest way to create a new ZF2 project is to use [Composer](https://getcomposer.org/). If you don't have it already installed, then please install as per the [documentation](https://getcomposer.org/doc/00-intro.md).

Create your new ZF2 project:

```
composer create-project -n -sdev driehle/zf2-doctrine-skeleton path/to/install

```

### Installation using a tarball with a local Composer

[](#installation-using-a-tarball-with-a-local-composer)

If you don't have composer installed globally then another way to create a new ZF2 project is to download the tarball and install it:

1. Download the [tarball](https://github.com/driehle/zf2-doctrine-skeleton/tarball/master), extract it and then install the dependencies with a locally installed Composer:

    ```
     cd my/project/dir
     curl -#L https://github.com/driehle/zf2-doctrine-skeleton/tarball/master | tar xz --strip-components=1

    ```
2. Use the composer.phar contained in the project to install the dependencies:

    ```
     php composer.phar self-update
     php composer.phar install

    ```

If you don't have access to curl, then install Composer into your project as per the [documentation](https://getcomposer.org/doc/00-intro.md).

Configuration
-------------

[](#configuration)

Before you start, you need to tell Doctrine which database to use. You can simply do so by copying the file `config/autoload/doctrine.local.php.dist` to `config/autoload/doctrine.local.php`. Open that file, you will see sample configurations for both MySQL and SQLite. Simply enable one of them by commenting out the other one and you're ready to start.

Web server setup
----------------

[](#web-server-setup)

### PHP CLI server

[](#php-cli-server)

The simplest way to get started if you are using PHP 5.4 or above is to start the internal PHP cli-server in the root directory:

```
php -S 127.0.0.1:8080 -t public/ public/index.php

```

This will start the cli-server on port 8080, and bind it the loop-back address, so the server will be available only from your machine. Simply point your browser to .

**Note:** The built-in CLI server is *for development only*.

### Vagrant server

[](#vagrant-server)

This project supports a basic [Vagrant](http://docs.vagrantup.com/v2/getting-started/index.html) configuration with an inline shell provisioner to run the Skeleton Application in a [VirtualBox](https://www.virtualbox.org/wiki/Downloads).

1. Run vagrant up command

    vagrant up
2. Visit  in your browser

Look in [Vagrantfile](Vagrantfile) for configuration details.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

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/21a7c88e5b3afb07c863fee44d83920e51af5f26b9f363ad1bca65bdc250f9ea?d=identicon)[driehle](/maintainers/driehle)

---

Top Contributors

[![driehle](https://avatars.githubusercontent.com/u/1586788?v=4)](https://github.com/driehle "driehle (11 commits)")

### Embed Badge

![Health badge](/badges/driehle-zf2-doctrine-skeleton/health.svg)

```
[![Health](https://phpackages.com/badges/driehle-zf2-doctrine-skeleton/health.svg)](https://phpackages.com/packages/driehle-zf2-doctrine-skeleton)
```

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M297](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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