Download the PHP package ubc-cpsc/deployer-recipes without Composer

On this page you can find all versions of the php package ubc-cpsc/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

Deployer Recipes

This repository contains UBC CS department recipes to integrate with deployer.

Installing

composer require ubc-cpsc/deployer-recipes:^3.0 --dev

Compatibility

Recipe version Deployer version PHP version
3.x 8.x 8.3 or later
2.x 7.x Supported by the selected Deployer 7 release

The 2.x branch receives critical compatibility fixes for Deployer 7. New development targets Deployer 8 on the 3.x branch.

Include recipes in deploy.php file.

Recipes

Recipe Docs
base
cachetool read
drupal
drupal7
drupal8
laravel

Drupal .env validation

The Drupal recipes default drush_require_env to true. Before running Drush, the task requires a readable, nonempty .env in the directory where Drush will run. A missing or unusable file stops the task and reports the path.

Set drush_require_env to false if your site runs Drush and supplies its database credentials without a .env file, for example through Drupal's local settings. Add this after loading the recipe in deploy.php.

The setting bypasses only the .env check. Drush commands still run, and a failed database probe still stops the task. Deploy workflows that omit the Drush tasks need no override.

Contributing

Read the contributing guide, take a look on open issues

License

Licensed under the MIT license.


All versions of deployer-recipes with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
deployer/deployer Version ^8.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 ubc-cpsc/deployer-recipes contains the following files

Loading the files please wait ...