phptars / tars-deploy
tarsphp 打包
Installs: 11 782
Dependents: 4
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 2
Open Issues: 2
Requires
- php: >=5.3
This package is auto-updated.
Last update: 2024-10-15 20:33:55 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