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
Requires
- php: >=5.3
This package is auto-updated.
Last update: 2026-02-15 23:41:03 UTC
README
-
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