Download the PHP package vira/hpropagate without Composer

On this page you can find all versions of the php package vira/hpropagate. 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 hpropagate

hpropagate-symfony

This package automatically propagates HTTP headers from inbound to outbound HTTP requests. It also will add a request ID to all monolog logs under req.id to follow the format used in our node services here

Requirements

The Why

We use a microservice architecture with a growing number of HTTP endpoints. We want to propagate certain HTTP headers received from the incoming HTTP requests to all subsequent outbound HTTP requests without the need for our engineers to do it programmatically in each service:

By default, the following headers are automatically propagated:

  1. x-request-id. If the header is missing from the inbound request, it will be created with a UUID as value.

Apart from x-request-id, only headers received on the incoming request will be propagated to outbound calls.

Installation

composer require vira/hpropagate

Then add the following to your bundles file:

Configuration

There is some optional configuration to be able to propagate more headers than just x-request-id:


All versions of hpropagate with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-json Version *
symfony/framework-bundle Version ^6.3|^7.0
symfony/uid Version ^6.3|^7.0
monolog/monolog Version ^3.4
symfony/http-client Version ^6.3|^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 vira/hpropagate contains the following files

Loading the files please wait ....