Download the PHP package allestuetsmerweh/php-deploy without Composer
On this page you can find all versions of the php package allestuetsmerweh/php-deploy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download allestuetsmerweh/php-deploy
More information about allestuetsmerweh/php-deploy
Files in allestuetsmerweh/php-deploy
Download allestuetsmerweh/php-deploy
More information about allestuetsmerweh/php-deploy
Files in allestuetsmerweh/php-deploy
Vendor allestuetsmerweh
Package php-deploy
Short Description Deploy your PHP code to a shared hoster
License MIT
Homepage https://github.com/allestuetsmerweh/php-deploy
Package php-deploy
Short Description Deploy your PHP code to a shared hoster
License MIT
Homepage https://github.com/allestuetsmerweh/php-deploy
Please rate this library. Is it a good library?
Informations about the package php-deploy
php-deploy
Deploy your PHP code, e.g. to a shared hosting.
The only requirement on the deployment destination server is PHP and the ZIP extension.
Usage
composer require allestuetsmerweh/php-deploy
- Create a file
Deploy.php
, containing a class implementingAbstractDefaultDeploy
(orAbstractDeploy
) - Run
PASSWORD=$DEPLOY_PASSWORD php ./Deploy.php --target=host1 --environment=prod --username=$DEPLOY_USERNAME
to deploy
Filesystem structure on the deployment destination server
Definitions:
$SECRET_ROOT
: The root directory for content not to be accessible via HTTP(S).$PUBLIC_ROOT
: The root directory for content to be accessible via HTTP(S).$DEPLOY_DIR
: The directory name for the deployments. Default:deploy
.$RANDOM_DIR
: A random name for a directory, which does not exist yet in the parent directory.
Usages:
$PUBLIC_ROOT/$RANDOM_DIR/deploy.zip
: The zipped contents of the deployment.$PUBLIC_ROOT/$RANDOM_DIR/deploy.php
: The script to unzip and install the deployment.$SECRET_ROOT/$DEPLOY_DIR/candidate/
: The directory to unzip the deployment to$SECRET_ROOT/$DEPLOY_DIR/live/
: The directory where the current deployment is stored$SECRET_ROOT/$DEPLOY_DIR/previous/
: The directory where the previous deployment is stored
CI on github.com
Example .github/workflows/deploy-prod.yml
:
CI on bitbucket.org
Example bitbucket-pipelines.yml
:
All versions of php-deploy with dependencies
PHP Build Version
Package Version
The package allestuetsmerweh/php-deploy contains the following files
Loading the files please wait ....