Add to version control system¶
If you use a version control system like Git, it's important to add
both files, the
automatically was created during the previous steps).
On the other side, some files and folders, which are added by composer, should be excluded:
- The extensions, you added via composer
.gitignore file could look like this:
/vendor/* /public/index.php /public/typo3/* /public/typo3conf/ext/* # allow some extensions !/public/typo3conf/ext/my_sitepackage/ !/public/typo3conf/ext/prefix_*
Checkout from version control system¶
All your co-workers should always run
composer install after they
checked out the files. This command will install the packages and
versions, defined in
composer.lock. So you and your co-workers
always can be sure to have installed the same versions of the TYPO3 core
and the extensions.