Download the PHP package unleashedtech/deployer-recipes without Composer

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

UT Deployer Recipes

Latest Version Build Status

This package uses Deployer 7, which supports recipes defined by YAML or PHP.

Deployer will import the recipes in a linear fashion. Placeholders will be replaced with actual values as late as possible. Deployer looks for deploy.php or deploy.yaml when run.

Installation

All recipe paths have been adjusted to use the files in the vendor directory and thus should be installed with composer:

Usage

Recipes have been organized to easily support any version of any software. They make several assumptions about git repository settings, deployment locations & host settings. These assumed default values are only applied if you haven't already defined them. Please choose a platform below for more.

Please note that tasks assume databases on relevant stages have already been configured. If you need to skip all database operations, you can set skip_db_ops to true via the command line.

Run vendor/bin/deployer.phar tree deploy to view the deploy recipe tree.

Run vendor/bin/deployer.phar deploy to deploy.

Run vendor/bin/deployer.phar to review available recipes.

Before/After Hooks

Deployer supports running tasks before or after other defined tasks. Defining custom tasks to trigger before & after other defined tasks is trivial. Such functionality can be added to the end of deploy.yaml, as shown below:

SSH Hosts

This package will dynamically define hosts based on global configuration values. It loops over a CSV list of environments in the environments variable, defining 0 or more hosts for each environment. By default, production, staging & dev environments are defined. For each environment, the package defines a number of hosts based on the integer value of the matching {environment}_webservers variable (e.g. two hosts defined for production based on the production_webservers variable value). These hosts will be linked together by their environment name (or stage, in Deployer parlance). When you want to deploy to production, you would probably run a command similar to dep deploy stage=production. This package assumes there are 2 production webservers, by default.

Configuring SSH

The hosts defined by Deployer are merely aliases. During execution, Deployer will assume hosts defined internally are available via SSH. You can add hosts to your ~/.ssh/config file, or you can add Include directive(s) which will load config provided by other files into your main SSH config. Such definitions can occur immediately before an automated deployment.

Each project can provide its own SSH config. Consider creating an .ssh folder in your project root & creating a config file within.

You can manually include config for specific projects:

You can also use a pattern to auto-include project config from many folders:

References


All versions of deployer-recipes with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3 || ^8.0
deployer/deployer Version ^7
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 unleashedtech/deployer-recipes contains the following files

Loading the files please wait ....