Simply put – this allows a Doctrine2 database table stroing users’ usernames and passwords to be used as the backend for Laravel 4 authentication.
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!