-
Phar extension required
-
Ensure that the. / tar / tar.proto.php file under the project exists and contains the following contents
return array(
'appName' = >
'servername' = >
...
);
-
Introduce tar deploy to composer.json of the project.
-
Add the following content to the project composer.json:
"Scripts": {
"deploy": "\\Tars\\deploy\\Deploy::run"
}
- Execute the following command in the project directory to generate the project compression package to be uploaded.
composer run-script deploy