monorepo

/Tag:monorepo

July 2017

How to have custom repositories per application in a monorepo structure on Symfony

2017-07-13T12:01:42+00:00 July 13th, 2017|Categories: PHP, Technical, Written by our colleagues|Tags: , , , , , |

Imagine you have a couple of applications based on Symfony, using Doctrine as the ORM, and sharing a domain. In order to avoid having a shared repository for an entity with queries intended for other applications, you’d need custom repositories for each application for the entities in the domain. Here’s my take on this issue.