Download the PHP package manomano-tech/correlation-ids without Composer

On this page you can find all versions of the php package manomano-tech/correlation-ids. 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 correlation-ids

Inactive

📢 Note: This repository is not maintained any more.

Correlation identifiers

Purpose: giving request/process correlation capabilities to your project.

This library provides a simple class that will contain three correlation identifiers:

In other words, if we have three applications A, B and C and A calls B which in turn calls application C, within application C, we'll have:

A little graph is worth a thousand words, so here is how this might look like:

Use cases

  1. You have multiple applications calling each other and you want to keep track of which is calling which.
  2. Your application produces logs and you want to know which logs come from the same process.

Installation

Generator

A generator is used to generate unique correlation ids for the current running application.

This library provides one default generator (see RamseyUuidGenerator) but you can create your own by implementing the UniqueIdGeneratorInterface.

Note: In order to use the RamseyUuidGenerator generator, you need to install the ramsey/uuid package.

Usage

You have two possibilities:

  1. extracting correlation identifiers from HTTP headers
  2. specifying parent and root correlation identifiers manually

Extracting correlation identifiers from HTTP headers

Specify parent and root correlation identifiers manually

Note: parent and root correlation id may be null


All versions of correlation-ids with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1.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 manomano-tech/correlation-ids contains the following files

Loading the files please wait ....