The problem:
I have Entities that are and will be the same for 2 projects written in Symfony. We got an idea to share them between projects. The first idea was to use git sub-module but everyone knows that it's not the most comfortable solution. So we put them in Satis as separate git repository.
In one project I would like to edit them in application directory src/AppBundle/Entity
on the other they can be downloaded into vendor
directory.
The question is how to setup composer so I can work with them not in vendor
directory. How the commits will look like? Is git sub-module required for this?
I've already read about "type" : "path"
for repository, I've checked composer installers. Is there any other solution than symlink which comes to my mind right now?
So to sum up.
How to work with shared library in one project from app directory and on the other on vendor directory?