I’ve just released a Laravel 4 package which contains a service provider to the Doctine2 entity manager and the Doctrine2 cache. These are made available via facades named D2EM and D2Cache respectively.
Currently it uses the XML schema method for defining entities but this can easily be augmented with the other methods. Also, ArrayCache and MemcacheCache are fully supported caching interfaces. Any other cache that requires no configuration is also supported but some trivial coding will be required for caching backends required configuration.
- Repository / code:Â https://github.com/opensolutions/doctrine2bridge
- Documentation:Â https://github.com/opensolutions/doctrine2bridge/blob/master/README.md
- Issues:Â https://github.com/opensolutions/doctrine2bridge/issues
- Packagist:Â https://packagist.org/packages/opensolutions/doctrine2bridge
Combining this with TwigBridge, we have an excellent framework with Laravel 4!