Sevajol Bastien 042ee0f750 uppgrade to dev version (2013-02-18) and add admin generator bundl 12 vuotta sitten
..
Command uppgrade to 2.1.7 and fix code for upgrade 12 vuotta sitten
Controller uppgrade to 2.1.7 and fix code for upgrade 12 vuotta sitten
DataCollector uppgrade to 2.1.7 and fix code for upgrade 12 vuotta sitten
DependencyInjection uppgrade to 2.1.7 and fix code for upgrade 12 vuotta sitten
Mapping uppgrade to 2.1.7 and fix code for upgrade 12 vuotta sitten
Resources uppgrade to 2.1.7 and fix code for upgrade 12 vuotta sitten
Tests uppgrade to 2.1.7 and fix code for upgrade 12 vuotta sitten
Twig uppgrade to 2.1.7 and fix code for upgrade 12 vuotta sitten
.gitignore uppgrade to 2.1.7 and fix code for upgrade 12 vuotta sitten
.travis.yml uppgrade to dev version (2013-02-18) and add admin generator bundl 12 vuotta sitten
Changelog.md uppgrade to 2.1.7 and fix code for upgrade 12 vuotta sitten
ConnectionFactory.php uppgrade to 2.1.7 and fix code for upgrade 12 vuotta sitten
DoctrineBundle.php uppgrade to 2.1.7 and fix code for upgrade 12 vuotta sitten
ManagerConfigurator.php uppgrade to 2.1.7 and fix code for upgrade 12 vuotta sitten
README.md uppgrade to 2.1.7 and fix code for upgrade 12 vuotta sitten
Registry.php uppgrade to 2.1.7 and fix code for upgrade 12 vuotta sitten
composer.json uppgrade to 2.1.7 and fix code for upgrade 12 vuotta sitten
phpunit.xml.dist uppgrade to 2.1.7 and fix code for upgrade 12 vuotta sitten

README.md

Doctrine Bundle

Doctrine DBAL & ORM Bundle for the Symfony Framework.

Because Symfony 2 does not want to force or suggest a specific persistence solutions on the users this bundle was removed from the core of the Symfony 2 framework. Doctrine2 will still be a major player in the Symfony world and the bundle is maintained by developers in the Doctrine and Symfony communities.

IMPORTANT: This bundle is developed for Symfony 2.1 and up. For Symfony 2.0 applications the DoctrineBundle
is still shipped with the core Symfony repository.

Build Status: Build Status

What is Doctrine?

The Doctrine Project is the home of a selected set of PHP libraries primarily focused on providing persistence services and related functionality. Its prize projects are a Object Relational Mapper and the Database Abstraction Layer it is built on top of. You can read more about the projects below or view a list of all projects.

Object relational mapper (ORM) for PHP that sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL. This provides developers with a powerful alternative to SQL that maintains flexibility without requiring unnecessary code duplication.

DBAL is a powerful database abstraction layer with many features for database schema introspection, schema management and PDO abstraction.

Installation

1. Old deps and bin/vendors way

Add the following snippets to "deps" files:

[doctrine-dbal]
    git=http://github.com/doctrine/dbal.git

[doctrine-orm]
    git=http://github.com/doctrine/doctrine2.git

[DoctrineBundle]
    git=http://github.com/doctrine/DoctrineBundle.git
    target=/bundles/Doctrine/Bundle/DoctrineBundle

2. Composer

Add the following dependencies to your projects composer.json file:

"require": {
    # ..
    "doctrine/doctrine-bundle": ">=2.1"
    # ..
}

Documentation

See the Resources/docs folder more a full documentation.