Multiple Entity Managers With Symfony

I wanted to use different database connections when accessing content. My main use case was to have a read-only user (e.g. reading from a read-replica) and a user with write permissions to do inserts.

This is something that both Symfony and Doctrine have supported for some time.

Read More…