Download the PHP package prooph/psb-zeromq-producer without Composer

On this page you can find all versions of the php package prooph/psb-zeromq-producer. 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 psb-zeromq-producer

ZeroMQ message dispatcher for ProophServiceBus

Build Status Coverage Status Gitter

Use ZeroMQ as message producer for Prooph Service Bus. Works together with bus types: CommandBus, EventBus.

Important

This library will receive support until December 31, 2019 and will then be deprecated.

For further information see the official announcement here: https://www.sasaprolic.com/2018/08/the-future-of-prooph-components.html

Requirements

PHP doesn't come with native support for ZeroMQ however there is an extension ext-zmq instructions are available on the ZMQ website for the PHP bindings.

http://zeromq.org/bindings:php

Installation

So after ext-zmq is installed on your server/development machine you're ready for the next step! Composer will be able to install prooph zeromq producer in seconds if not quicker. Run the following command to install via composer.

composer require prooph/psb-zeromq-producer:~0.2

Command/Event Bus (PUB/SUB)

To construct your Command/Event bus you'll need to have a server running ZMQ with ZMQ::SOCKET_SUB this will then receive the messages from the producer.

For basic tutorial on PUB/SUB: http://zguide.zeromq.org/page:all#Getting-the-Message-Out

Usage Examples

Query Bus (REQ/REP)

To construct your Query bus you'll need to have a ZMQ server running with ZMQ::SOCKET_REP this will then receive the messages from the producer and MUST reply as part of the REQ/REP specification.

For basic tutorial on REQ/REP: http://zguide.zeromq.org/page:all#Ask-and-Ye-Shall-Receive

Usage Examples

Support

Contribute

Please feel free to fork and extend existing or add new features and send a pull request with your changes! To establish a consistent code quality, please provide unit tests for all your changes and may adapt the documentation.

License

Released under the New BSD License.


All versions of psb-zeromq-producer with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5
ext-zmq Version *
prooph/service-bus Version >=4.0 <6.0
react/promise Version ~2.
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 prooph/psb-zeromq-producer contains the following files

Loading the files please wait ....