Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Name of the Git branch from which the project should be loaded, eg master

  • Private SSH key to access the git.

  • Symlinks required by the project for structuring.

Usage of composer in install.sh during Deployment

Difference between composer install and update

install:

The following steps happen during the install command:

  • Check if a composer.lock exists

  • If not, the install command perform a composer update to create one

  • If composer.lock exists, the specified versions from the lock file would be installed.

update:

  • Check composer.json

  • Determine the latest versions to install based on your version specifications in composer.json

  • Install the latest versions

  • Update composer.lock to reflect the latest versions installed

Usage recommendation

(lightbulb)

We recommend to create composer.lock during your development process and place the file to your release.
The advantage is, that all package versions you have used for development and successful tested, are freezed in this file and will be exactly installed on your aws evironment.

...