I'm currently working on a project where we use Symphony to build an application that is going to be a library for other PHP projects.
We want to install Symfony and manage all dependencies through Composer. The structure we're after will look something like this:
/
composer.json
/Symfony
/src
/app
/vendor
/symfony
/doctrine
The vendor directory would not be committed to source control since it's contents are generated by Composer. The Symfony directory would be our application source directory but if possible we prefer to have the src and app directories sit directly in the root next to the composer.json.
Since we want/need to create a bundle for our application (for ORM entities etc.) and we can't place any of this in the vendor directory the question basically is;
a) is this possible?
b) are there any resources out there to set up a structure like this?