Download the PHP package etouches/phplumber without Composer

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

Phplumber

Phplumber is a very simple pipelining library for PHP which allows a mix of asynchronous and synchronous processes. Use it to break a large process into multiple steps using a queue and multi-processing. Phplumber contains no hard-coded dependencies and can be backed by any queue setup and any storage mechanism.

Requirements

Example

Let's take creating and filling a database as an example. It takes multiple steps and some can be done concurrently.

  1. Create database (one process)
  2. Create and populate tables (one process per table)
  3. Create views dependent on multiple tables (one process, dependent on all tables existing)

First we would define our processes. Sequential steps extend Process. A step that can run multiple times with different data extends MultiProcess.

Then we define the sequence of processes.

We can now kick off the process sequence.

See the examples directory for complete, working demos.

Getting Started

  1. Implement StorageInterface. This will hold semaphore data. Appropriate storage engines include any relational database, nosql, or key-value stores such as Redis.
  2. Extend the Queue class to integrate with a queue system. Appropriate queue engines include Redis and RabbitMQ.
  3. Write each process as a class that extends Process (for synchronous) or MultiProcess (for asynchronous).
  4. Implement ProcessFactoryInterface. This will create each instance of ProcessInterface, allowing you to set up your processes with any prerequisites, such as a database connection or configuration options.
  5. Put the processes together by extending ProcessList.
  6. Implement a worker daemon which instantiates your Queue implementation and calls consume() to listen for incoming messages. Each message is to invoke a single part of a multi-process. Run multiple workers to execute processes concurrently.
  7. Choose a place in your system to start the entire workflow, instantiate your ProcessList, and call process(), passing it the initial payload.

All versions of phplumber with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3
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 etouches/phplumber contains the following files

Loading the files please wait ....