PHPackages                             wyanez/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. wyanez/zf2-doctrine-skeleton

AbandonedArchivedLibrary[Framework](/categories/framework)

wyanez/zf2-doctrine-skeleton
============================

Skeleton Application for ZF2 and Doctrine

0.1.0(11y ago)011BSD-3-ClauseCSSPHP &gt;=5.4

Since Dec 14Pushed 11y ago1 watchersCompare

[ Source](https://github.com/wyanez/ZF2DoctrineSkeletonApp)[ Packagist](https://packagist.org/packages/wyanez/zf2-doctrine-skeleton)[ Docs](http://github.com/wyanez)[ RSS](/packages/wyanez-zf2-doctrine-skeleton/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (7)Versions (2)Used By (0)

ZF2DoctrineSkeletonApplication
==============================

[](#zf2doctrineskeletonapplication)

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

[](#introduction)

This is a simple, skeleton application using the ZF2 MVC layer and module systems and Doctrine2 ORM Layer. This application is meant to be used as a starting place for those looking to get their feet wet with ZF2 and Doctrine2 ORM Layer. Contains base classes: BaseDoctrineController, BaseDoctrineForm, BaseDoctrineModel and BaseDoctrineEntity and thus facilitate the development of your application.

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

[](#installation)

Simply clone this project and run

```
$ php composer.phar install
```

Post-Installation
-----------------

[](#post-installation)

- Create `doctrine.local.php`: `cp autoload/doctrine.local{.php.dist,.php}`
- Edit `doctrine.local.php` and set your params of conexion to database in $dbParams array.
- Create your entities and place it in the folder `module\Application\src\Application\Entity`, this entities must belong at namespace `\Application\Entity`
- **Optional:** Activate `ZendDeveloperTools`:

```
$ cp config/autoload/zenddevelopertools.local{.php.dist,.php}
```

```
Activate the module ZendDeveloperTools in the section 'modules' of file `config\application.config`, uncoment the line //'ZendDeveloperTools'.

```

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 0.0.0.0:8080 -t public/ public/index.php

```

This will start the cli-server on port 8080, and bind it to all network interfaces.

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

### Apache Setup

[](#apache-setup)

To setup apache, setup a virtual host to point to the public/ directory of the project and you should be ready to go! It should look something like below:

```

    ServerName zf2-tutorial.localhost
    DocumentRoot /path/to/zf2-app/public
    SetEnv APPLICATION_ENV "development"

        DirectoryIndex index.php
        AllowOverride All
        Order allow,deny
        Allow from all

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4220d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/330406?v=4)[William Yanez](/maintainers/wyanez)[@wyanez](https://github.com/wyanez)

---

Top Contributors

[![wyanez](https://avatars.githubusercontent.com/u/330406?v=4)](https://github.com/wyanez "wyanez (7 commits)")

---

Tags

frameworkdoctrinezf2Skeleton

### Embed Badge

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

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

PHPackages © 2026

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