Download the PHP package muxx/dplr without Composer

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

dplr

Object oriented deployer based on GoSSHa which allows to execute tasks simultaneously and in parallel. Simple and fast.

Usage

Example of usage:

Installation

Use composer to install dplr:

Important: dplr requires GoSSHa.

Documentation

Initialization

Initialization of ssh authorization by key:

Register servers

Add multiply servers with adding in different group. Adding to groups allows you to execute tasks on servers of certain group.

Register tasks

dplr allows to register two types of tasks:

In example above file parameters.yml will be uploaded on all servers simultaneously and in parallel. Second task executes only on servers from group app (1.2.3.5 and 1.2.3.6) in parallel. For second task defined execution timeouts (15 seconds).

Sometimes you have to execute different tasks in parallel. For this case Dplr has multithread mode.

In example above command app build will be executed on all servers. After that commands app init --mode=job and app init --mode=app will be executed on the servers of groups job and front in parallel. At the end command app run will be executed on the servers of group front.

Running

Running is simple:

Define callback if you want to show steps of execution:

Each dot at the end of task lines means executing of the one action (upload, command) on the certain server. Mark E is indicator of failed executing. Mark J is indicator of json parsing error. Mark T is indicator of executing timeout.

Result processing

You can get the execution review or detail information about each task execution.

Display report:

Detail information about each task:

Each element in arrays returned by $dplr->getFailed() and $dplr->getReports() is instance of Dplr\TaskReport and has methods:

Tests

Execute the commands below to run the tests.


All versions of dplr with dependencies

PHP Build Version
Package Version
Requires php Version >=7.3
ext-json 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 muxx/dplr contains the following files

Loading the files please wait ....