A Zend Framework 2 module that acts as a Doctrine 2 bridge.
PHP Shell
Pull request Compare This branch is 59 commits ahead of EvanDotPro:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
configs
docs
src/SpiffyDoctrine
tests
vendor
.gitignore
.gitmodules
Module.php
README.md
autoload_classmap.php
autoload_function.php
autoload_register.php

README.md

SpiffyDoctrine Module for Zend Framework 2

The SpiffyDoctrine module intends to integrate Doctrine 2 ORM with Zend Framework 2 quickly and easily. The following features are intended to work out of the box:

  • Multiple ORM entity managers
  • Multiple DBAL connections
  • Caches for metadata, queries and resultsets
  • Using a SQL logger
  • Custom dql functions, additional hydration modes
  • Named DQL and native queries
  • Multiple metadata drivers
  • Annotations registries initialization (such as Gedmo DoctrineExtensions)
  • Validators for EntityExists and NoEntityExists
  • Authentication adapter for Zend\Authenticator
  • Support for using existing PDO connections

Requirements

Doctrine CLI

The Doctrine CLI has been pre-configured and is available in SpiffyDoctrine\bin. It should work as is without any special configuration required.

TODO

  • Implement migration/fixture support from doctrin-fixtures.
  • Write MORE unit tests.