To ease Composer integration with In-Portal I'm proposing to take a bit different approach. For full discussion please go to: [composer] Use Composer.
The idea is to:
- include "
composer.json"with each In-Portal installation (both In-Portal & Intechnic repository)
- as one of installation prerequisites assert that "
vendor/autoload.php" is present and if it doesn't show composer instructions:
- add "
/vendor" folder to "
svn:ignore", so nobody will commit it by accident
- run "
composer install --no-dev"also when releasing new In-Portal version for "
vendor" folder to be included in produced ZIP
- add inclusion of "
This way the "vendor" folder (which might contain outdated dependencies) is never commited and is created automatically while project is installed.