Download the PHP package releaz/deployer without Composer

On this page you can find all versions of the php package releaz/deployer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package deployer

Configurable Deployment Tool (Based on Deployer)

Build status: Build Status

Build status Deployer: Build Status

Docs: https://releaznl.github.io/releaz-deployer

Packagist: https://packagist.org/packages/releaz/deployer


This tool is created for easy Yii2 deployment with the help of Deployer. In this tool it's easy to configure deployment variables and share them between your colleagues.

Deployment:

Deploying is done with the help of Deployer. To use this dependency, please require the following in your composer.json file.

Afterwards initialize Deployer by calling vendor/bin/dep init and choose the 'Releaz' template. Doing so will generate an example config and the required Deployer deploy.php file. Please look below for more information on how to configure this file. Create the Yii2 configutation file by duplicating the generated .example config file in the common folder. By default the deploy.php file looks for deploy-config.yml

The deploy.php file can be edited in the same manner as Deployer. Please visit the Deployer documentation for more help.

Explanation:

In the server section you can add different amount of stages. The keys that are given, are not used by Deployer. Explanation:

Key Explanation Required
host: The server host address (Where should the stage be deployed to) Yes
stage: The name of the stage. (This stage name can be used when using dep deploy [stagename]) Yes
branch: The branch that the stage contains. (This is the branch that will be pulled on to the remote server) Yes
deploy_path: The path where the sources should be pulled on the remote server. (Should always be absolute) Yes
ssh_user: The user that is needed for logging in at the remote server. Yes
settings: Contains specific settings for the given stage. No
yii/init: The initialisation enviromnent for Yii2 apps. In a default situation this can be 'Development' or 'Production'. No
yii/overwrite: Overwrite all the files when perform a php init (can be 'All' 'None') No (All are overwritten)
files:upload_files Paths to files that needs to be uploaded to the remote server to the same location (paths are seen from project folder). No
files:show Shows the content of a file. Prefixed with the release_path. No
migrate:rbac Migrates the RBAC functionality of Yii2. No
migrate:db Migrates the 'normal' database migrations No
sync:* Special feature for syncing remote files with for example a shared folder. That way developers can maintain shared files and sync them to the remote server, without loss of user created files. The uploads key is required when using this functionality, but only used for visual purpose. (rsync) No
sync:source Path to folder (from project root) When using sync option -> Yes, else no.
sync:dest Destination path (from deploy path) When using sync option -> Yes, else no.
sync:create_if_not_exists Create the destination folder if it doesn't exist. No
shared Shared entities that need to be placed in the shared folder No

Passwords

The module uses forward-agent to grant your user access to the remote server without the need of a password. Follow the following steps to ensure no password is needed:

Remote server access repository

To give the deployment server access to your private/public repository on Github, please provide the server's public SSH key as a deployment key in your repository settings.


All versions of deployer with dependencies

PHP Build Version
Package Version
Requires php Version ~7.0
deployer/deployer Version ^5.0
symfony/framework-bundle Version ^3.3
symfony/yaml Version ~2.7|~3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package releaz/deployer contains the following files

Loading the files please wait ....