PHP

Requirements

To successfully deploy a PHP website / application, you will need at least both these files:

Composer.json example

{
    "require": {
        "php": "^7.2.0"
    }
}

Install dependencies

Without the composer.lock file the deployment will fail.

Run the Composer install command:

composer install

This will install the dependencies and generate the composer.lock file.