Nette Framework - Doctrine 2 Extension
Library for easy integration Doctrine 2 ORM to Nette Framework.
- PHP 5.3.2 or later
- Nette Framework 2.0.0 or later
- Doctrine ORM 2.3.0rc or later
- Nella Console Extension 2.0.0beta or later
- Doctrine Migrations master
- Nella Gedmo Extension 2.0.0beta or later
Add "nella/doctrine": "dev-master"
and "nella/console": "dev-master"
to *composer.json and run composer update
.
Edit your bootstrap.php and add Nella\Doctrine\Config\Extension::register($configurator);
before $configurator->createContainer()
.
If you want to use Doctrine Migrations add
Nella\Doctrine\Config\MigrationsExtension::register($configurator);
before
$configurator->createContainer()
.
For more info please follow documentaion.