Archives
Master Symfony2 fundamentals
Symfony hosting done right
Discover the SensioLabs Support
Blog
Symfony 2.1: The Doctrine bundle has moved to the Doctrine organization
by
Fabien Potencier
– January 02, 2012
– 13 comments
The Symfony2
DoctrineBundle
has been moved to the Doctrine
organization. This allows the bundle to be maintained in a more decoupled way
from Symfony for several reasons:
No coupling of release cycles anymore;
Move code to the organization that actually maintains it;
Avoid Symfony suggesting Doctrine is the only way for persistence; Symfony wants to focus on providing the View and the Controller abstraction and not make suggestions about the Model.
The Symfony standard edition has been updated to reflect this change.
In your code, you will have to change references to the Doctrine classes; for
instance, the Registry class must be changed from
Symfony\Bundle\DoctrineBundle\Registry to
Doctrine\Bundle\DoctrineBundle\Registry.
The DoctrineFixturesBundle, DoctrineMigrationsBundle and
DoctrineMongoDBBundle are now maintained in the Doctrine organization as
well; however forks have been created in the Symfony repository to make all
the 2.0 apps out there backwards compatible (you just need to be check that
your are using the 2.0 branch).
The new repositories are here:
- https://github.com/doctrine/DoctrineBundle
- https://github.com/doctrine/DoctrineMongoDBBundle
- https://github.com/doctrine/DoctrineFixturesBundle
- https://github.com/doctrine/DoctrineMigrationsBundle
You can find additional information about the move on the Doctrine blog.





is a trademark of Fabien Potencier. All rights reserved.
Add a Comment
Comments
What about the DoctrineBridge?
Symfony 2.0 is broken with last commit of SensioGeneratorBundle
PHP Fatal error: Class 'Doctrine\Bundle\DoctrineBundle\Command\DoctrineCommand' not found in /xxxxxx/vendor/bundles/Sensio/Bundle/GeneratorBundle/Command/GenerateDoctrineCommand.php on line 18
Trying with this new deps: https://github.com/symfony/symfony-standard/blob/5dee24eb280452fe46e76f99706c21ab417462ac/deps
and this is the framework session which is broken...
Many guys have the same problem: http://groups.google.com/group/symfony2/browse_thread/thread/9a3f00cde4fe2bfd/72ab99ec44df02c3?show_docid=72ab99ec44df02c3
i have the same question as Dmitry Bykadorov. approximately when is 2.1 coming out?