Download the PHP package yousign/zdd-message-bundle without Composer

On this page you can find all versions of the php package yousign/zdd-message-bundle. 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 zdd-message-bundle

Zero Downtime Deployment Message Bundle ✉️ ✅

A Symfony Bundle to use when you want to assert that messages used with Message brokers such like RabbitMQ are compliant with the Zero Downtime Deployment.

Getting started

Installation

You can easily install Zdd Message bundle by composer

Then, bundle should be registered. Just verify that config\bundles.php is containing :

Configuration

Once the bundle is installed, you should create a class to configure the messages to assert and how to create them:

When the class is created, you can register it as a service.

Then, you should register it in the configuration (config/packages/zdd_message.yaml) :

Optional configuration

Use a custom serializer

Option to use different serializer. Possible options :

Detect messages not tracked

Option to write a log message if an asynchronous message has been sent (using symfony messenger) and is not present in your configuration.

Usage

The bundle comes with commands to assert that your messages are compliant with the Zero Downtime Deployment:

💡 You should run bin/console yousign:zdd-message:generate with the production version code and bin/console yousign:zdd-message:validate with the version code you want to merge.

Example from the version you want to merge:

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

After writing your fix/feature, you can run following commands to make sure that everything is still ok.

If you want to use your local fork to develop in your projects, you can use the link command to replace the vendor installation by your local version.

Authors


All versions of zdd-message-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1.0
symfony/console Version ^6.2|^7.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 yousign/zdd-message-bundle contains the following files

Loading the files please wait ....