Download the PHP package tourze/request-id-bundle without Composer

On this page you can find all versions of the php package tourze/request-id-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 request-id-bundle

RequestIdBundle

中文

Latest Version Build Status Quality Score Total Downloads

A Symfony bundle for request ID management, enabling tracking and correlation of requests across your application. Supports HTTP, message queue, and CLI commands for comprehensive request tracing in distributed systems.

Features

Installation

Requirements:

Quick Start

1. HTTP Integration

The bundle automatically:

2. Message Queue Integration

Request IDs are automatically propagated through message queues:

3. CLI Support

CLI commands automatically get request IDs with a "CLI" prefix:

4. Log Integration

Request IDs are automatically added to log records:

How It Works

For a detailed workflow diagram, see WORKFLOW.md.

  1. HTTP Requests:

    • RequestIdSubscriber handles request/response events
    • Checks if request ID exists in headers
    • Uses existing ID if trusted, otherwise generates new one
    • Adds ID to response headers
  2. Message Queue:

    • RequestIdMiddleware intercepts message dispatching/handling
    • Attaches RequestIdStamp to outgoing messages
    • Restores original request ID when consuming messages
    • Cleans up after message handling
  3. CLI Commands:

    • CommandRequestIdSubscriber generates "CLI"-prefixed request ID
    • Sets ID at command start
    • Cleans up at command termination
  4. Log Integration:
    • RequestIdProcessor adds request ID to all log records
    • Makes request ID available in log formatters and outputs

Performance Optimization

Contributing

Contributions are welcome! Please see our contribution guidelines for details.

License

The MIT License (MIT). Please see License File for more information.


All versions of request-id-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
doctrine/doctrine-bundle Version ^2.13
doctrine/orm Version ^2.20 || ^3.0
symfony/console Version ^6.4
symfony/messenger Version ^6.4
symfony/uid Version ^6.4
symfony/framework-bundle Version ^6.4
symfony/config Version ^6.4
symfony/event-dispatcher Version ^6.4
symfony/http-kernel Version ^6.4
symfony/dependency-injection Version ^6.4
symfony/http-foundation Version ^6.4
symfony/service-contracts Version ^3
monolog/monolog Version ^3.1
tourze/backtrace-helper Version ~0.0.5
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 tourze/request-id-bundle contains the following files

Loading the files please wait ....