Download the PHP package friemt/deployer-tasks without Composer

On this page you can find all versions of the php package friemt/deployer-tasks. 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-tasks

Additional tasks for Deployer

Additional and enhanced tasks not available for Deployer out of the box.

Installation

Usage

Either include the recipe or task and the respective configuration to your deployer file.

crontab

Syncs configured cronjobs to the target systems.

variables

variable description default
bin/crontab path to the crontab binary on the target system which crontab
crontab_backup path where the backup should be placed {{deploy_path}}/.dep/crontab.bak
crontab_marker a string used to identify the deployment across target systems and stages {{application}} {{crontab_stage}}
crontab_stage a string to differentiate multiple deployments on the same target system host.labels.stage
crontab_user the user to use with crontabs -u option host.remote_user
crontab_target_lookup a list of labels to determine the target systems host.alias, host.hostname, host.labels.stage

tasks

task description
crontab:check checks the target system against the configuration and displays any differences
crontab:sync syncs the configuration to the target system, adding, updating and deleting entries

runonce

Runs a defined command on the target system once and only once.

variables

variable description default
runonce_history path where the history should be placed {{deploy_path}}/.dep/runonce_log
runonce_target_lookup a list of labels to determine the target systems host.alias, host.hostname, host.labels.stage

tasks

task description
runonce:check checks the target system against the configuration and displays any differences
runonce:run checks which commands have already run and runs any differences, also retries commands marked for retry

template

Copy files to the target system after replacing deployer placeholders.

variables

variable description default
template_history path where the history should be placed {{deploy_path}}/.dep/template_log
template_target_lookup a list of labels to determine the target systems host.alias, host.hostname, host.labels.stage

tasks

task description
template:check checks the target system against the configuration and displays any differences
template:sync syncs the configuration to the target system, adding and updating files

cleanup

Remove obsolete files and folders from older releases.

variables

variable description default
cleanup_paths A list of paths, relative to the release dir, which should be removed. 'var/cache'

tasks

task description
cleanup:paths Checks every release except current for the configured paths and removes them if they exist.

symlink

Creates symlinks anywhere on the host from a given list.

variables

variable description default
symlink_config list of destination => source pairs. These will be created on deployment []

tasks

task description
symlink:create creates the given list of symlinks on deployment

supervisor

Stop and start task for supervisor to avoid runtime errors during deployment.

variables

variable description default
bin/supervisor path to the supervisorctl binary on the target system which supervisorctl
supervisor_groups list of groups to be stopped, updated and started []
supervisor_use_sudo whether the commands are rund with sudo false

tasks

task description
supervisor:stop stops the given list of supervisor task groups
supervisor:start updates and starts the given list of supervisor task groups

All versions of deployer-tasks with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-ctype Version *
ext-json Version *
ext-mbstring Version *
deployer/deployer Version ^7.0
symfony/polyfill-php80 Version ^1.26
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 friemt/deployer-tasks contains the following files

Loading the files please wait ....