Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Inter App Request Identifier Bundle

Inter App Request Identifier Bundle Laravel Package

juliendufresne/inter-app-request-identifier-bundle

A Symfony bundle that assigns and propagates unique identifiers for inter-application requests, making it easier to trace requests and correlate logs across services. Integrates with the Symfony request lifecycle and provides configuration for consistent request IDs.

View on GitHub
Deep Wiki
Context7

juliendufresne/inter-app-request-identifier-bundle is a Symfony bundle that adds a lightweight, consistent identifier to requests exchanged between your applications. It helps you trace a single logical operation as it travels across services, making logs and debugging far easier when multiple apps call one another.

By propagating an identifier on outgoing requests and reading it on incoming ones, the bundle gives you a simple correlation mechanism without pulling in a full distributed-tracing stack.

  • Attaches a unique identifier to outgoing inter-application requests
  • Reads and exposes the identifier from incoming requests
  • Integrates cleanly with Symfony's service container and event system
  • Keeps logs correlatable across multiple applications
  • Minimal configuration and no heavy dependencies
Frequently asked questions about Inter App Request Identifier Bundle
Is juliendufresne/inter-app-request-identifier-bundle a Laravel package?
No. It is a Symfony bundle, not a Laravel package, and it has no Illuminate service provider, no Laravel package auto-discovery, and no Laravel-style configuration. Its contents are essentially a request identifier interface plus Symfony bundle registration boilerplate. It provides no runtime behavior for a Laravel application on its own.
Can I install this Symfony bundle in Laravel 10, 11, or 12?
Composer installation is technically possible but practically fragile. The package is from 2018 and is likely constrained to Symfony 3.4 or 4.x and PHP 7.0 or 7.1, while modern Laravel uses Symfony 6.4 or 7.x and PHP 8.2+. Constraint overrides or ignore-platform-reqs workarounds leave you with an unclean lockfile and an archived dependency.
What does this package actually implement?
It is a Symfony bundle wrapper for the juliendufresne/inter-app-request-identifier library. Based on the assessment, it almost certainly contains a single request or process identifier accessor interface plus bundle registration code. It does not include the middleware, log processor, header propagation, or queue plumbing needed for real cross-application tracing.
How should I add a request identifier to Laravel logs and response headers?
Write a small Laravel middleware that generates a UUID or accepts an incoming X-Request-Id, stores it on the request, and adds it to the response header. Use Log::withContext or Laravel 11+ Context to include it in every log entry, and pass it into queued job payloads. This is first-party Laravel work and does not require this Symfony bundle.
Does this package support W3C Trace Context or distributed tracing?
No. A PHP-only interface is not a wire contract between applications, so it cannot replace traceparent and tracestate headers. For genuine cross-service tracing, use W3C Trace Context or a simple X-Request-Id header, ideally through OpenTelemetry. Those standards work across PHP, JavaScript, Go, and other services.
Is this package maintained and safe to use in production?
It is archived and has not been maintained since 2018-03-04, with zero stars and zero dependents. Runtime risk is low because the surface area is trivial, but governance and supply-chain risk are high because there is no security response and SCA tools flag abandoned packages. Most teams should not carry an archived dependency for one interface.
Which Laravel and PHP versions are compatible with this bundle?
There is no evidence of PHP 8.x compatibility, and a 2018 Symfony bundle would typically expect PHP 7.0 or 7.1 and Symfony 3.4 or 4.x. That does not match Laravel 10, 11, or 12, which require PHP 8.1 or 8.2+ and modern Symfony components. Forking and modernizing it would be more work than writing the interface yourself.
Can this package correlate queued jobs across Laravel workers?
No. It has no Laravel queue integration, and long-lived Laravel queue workers can leak a stale identifier across jobs if the identifier is bound as a singleton. You must implement job payload propagation and clear or reset the identifier per job. That is Laravel-specific plumbing the Symfony bundle does not provide.
What are better alternatives for request correlation in Laravel?
Use a custom middleware with X-Request-Id, Log::withContext or Laravel Context, and queued job payload propagation. For cross-application tracing, use OpenTelemetry with W3C Trace Context instead of a PHP-only interface. Laravel's first-party logging and middleware primitives already cover the log correlation use case cleanly.
Can I copy the interface into my application instead of requiring the package?
Yes. The package is MIT licensed, so vendoring the interface definition into an internal namespace is clean and unambiguous. However, because the interface is tiny, writing your own request identifier contract is usually cheaper than adding an archived dependency. Keep the contract internal and implement propagation with Laravel middleware, logging context, and queue payloads.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console