To ease Composer integration with In-Portal I'm proposing to take a bit different approach. For full discussion please go to: Use Composer.
The idea is to:
- include `composer.json` with each In-Portal installation (both In-Portal & Intechnic repository)
- run
composer install
command during installation of In-Portal for it to create `/vendor` folder - add "/vendor" folder to "svn:ignore", so nobody will commit it by accident
- run
composer install
also when releasing new In-Portal version for "vendor" folder to be included in produced ZIP
This way the "vendor" folder (which might contain outdated dependencies) is never commited and is created automatically while project is installed.
We might want consider shipping composer.phar
in tools
folder just in case if it's not installed globally on the server and user (not a developer) want to keep In-Portal installation simple without need to run additional commands in shell.