Download the PHP package tombroucke/otomaties-deployer without Composer

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

Otomaties Deployer

Installation

Options

Use dep deploy production --skip-ssl-verify to deploy a website without a SSL certificate

Example deploy.php file

Languages

Languages should be excluded from your git repo and installed during deploy with wp:install_languages.

Runcloud Hub

To clear the opcode cache on a runcloud server, you need to add cachetool_args. E.g.:

WordPress

WooCommerce

Extra commands

Initial setup

Symlink hosts on Combell

Create bedrock .env file

Enable basic auth on host:

Add repository authentication to remote server

GitHub Actions

Full setup in one command

Runs all steps below in order: deploy key, composer auth, Dependabot secrets, and basic auth (prompted if not in .env).

Set up deploy key and store as GitHub Actions secrets

If SSH keys on the host are managed in a hosting control panel (e.g. Combell) instead of ~/.ssh/authorized_keys, enable manual mode. The public key is printed so you can add it in the control panel, and the command waits for your confirmation before testing it. When you rotate the key, remove the old one from the control panel yourself.

Or for a single run:

Store composer auth.json as the COMPOSER_AUTH Actions secret

Store composer registry credentials as Dependabot secrets

Reads auth.json and sets <HOSTNAME>_USERNAME / <HOSTNAME>_PASSWORD as Dependabot secrets for each http-basic registry entry. Required for Dependabot to access private Composer registries.

Store basic auth credentials as the DEPLOY_BASIC_AUTH Actions secret

Security

Setup Wordfence firewall for Bedrock / deployer

Set default Wordfence configuration

You can overwrite the default config

Add .htaccess rules for security

Database handling

Pull database from production

Download database

Push database to staging

WordPress

WP CLI

Install packages
Flush Object Cache
Capabilities
Login

Set admin email

Upgrading

From v1.x to v2.x

There is a script included to automatically update from v1.x to v2.x. Require this script in your old deploy.php script, and we will try to fix the file automatically. Run dep after adding this line.


All versions of otomaties-deployer with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
vlucas/phpdotenv Version ^5.4
deployer/deployer Version ^8.0
illuminate/support Version *
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 tombroucke/otomaties-deployer contains the following files

Loading the files please wait ...