Share entities between projects and same database
<p>Because we don't have a lot of choices, with our team we plan to build two different applications with Symfony 2 (an old Back-Office and a new API), stored in two different GitHub repositories. But with one and only one database, and shared doctrine entities.</p>
<p>Potentially one entity in each project (therefore two), &quot;pointing&quot; on the same table in the database.</p>
<p>Is it definitely a bad idea?
Is there a solution to share entities?</p>