webcook / doctrine
Doctrine 2 ORM and Migrations addon for Nette Framework
Installs: 2 667
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 11
Type:nette-addon
Requires
- php: >=5.3.2
- doctrine/orm: 2.3.*
- nette/nette: 2.*
Suggests
- doctrine/migrations: Need for migrations support
- nella/console: Need for console support
- nella/gedmo: Integrate Doctrine Gedmo extension to Nette Framework
This package is not auto-updated.
Last update: 2024-11-09 17:03:43 UTC
README
Library for easy integration Doctrine 2 ORM to Nette Framework.
Requirements
- PHP 5.3.2 or later
- Nette Framework 2.0.0 or later
- Doctrine ORM 2.3.0rc or later
Suggest
- Nella Console Extension 2.0.0beta or later
- Doctrine Migrations master
- Nella Gedmo Extension 2.0.0beta or later
Installation
Add "nella/doctrine": "*"
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.