Download the PHP package webtown/deployer-recipes without Composer

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

Install

Add composer:

This version using Deployer 5.x .

Bundle Commands

Init

You or your organization can register custom deploy.php template file. The template can create other files also! The command find all template service, which has webtown_deployer.template tag.

  1. Create your own DeployerTemplatesBundle.
  2. Create a container directory in the Resources directory: Resources/Template/mySymfonyDeployerTemplateStructure
  3. Build your additional file structure:

  4. Create MySymfonyDeployerTemplate template class to the /Template directory:

Recipes

Symfony extra

Add new tasks:

Kunstmaan

Kunstmaan specific settings. Include the vendor/webtown/deployer-recipes/recipes/kunstmaan.php file after symfony.php or symfony3.php recipe:

Make the config file:

Then:

Rollback:

Load fixtures

This will delete the whole database and rebuild it!

You can enable on each server with the load_fixtures parameter! Default value is false.

Maintenance

Add maintenance function, you can lock or unlock the site. You need a maintenance template html. The default path is defined in maintenance_template parameter. Default value is maintenance.html.tpl or app/Resources/views/maintenance.html file in Symfony projects.

  1. Create an maintenance.html.tpl or app/Resources/views/maintenance.html. This file will see users during the maintenance.
  2. Configure the webserver. If maintenance.html exists in the document root, force show this file with 503 status!

    • Apache eg:

    • Nginx eg:
  3. Register the tasks (use before and after)

deploy.php file:

Console commands:


All versions of deployer-recipes with dependencies

PHP Build Version
Package Version
Requires php Version ~7.0
symfony/symfony Version ~3.0
deployer/deployer Version ~5.1.3
symfony/twig-bundle Version ~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 webtown/deployer-recipes contains the following files

Loading the files please wait ...