phptars/tars-deploy

There is no license information available for the latest version (0.1.1) of this package.

tarsphp 打包

0.1.1 2018-09-11 12:18 UTC

This package is auto-updated.

Last update: 2024-10-15 20:33:55 UTC


README

  1. Phar extension required

  2. Ensure that the. / tar / tar.proto.php file under the project exists and contains the following contents


return array(

'appName' = >

'servername' = >

...

);

  1. Introduce tar deploy to composer.json of the project.

  2. Add the following content to the project composer.json:


"Scripts": {

"deploy": "\\Tars\\deploy\\Deploy::run"

}

  1. Execute the following command in the project directory to generate the project compression package to be uploaded.
    composer run-script deploy