paynl/psr-server-request

Create a PSR Server Request from PHP Globals

1.0.1 2023-11-28 10:54 UTC

This package is auto-updated.

Last update: 2024-03-28 11:37:34 UTC


README

Static Code Analysis PHPUnit tests Coverage Status

This package adds a helper function to create a PSR Server Request from the Global PHP variables.

Requirements

To install this package you need:

  • PHP >= 7.4;
  • composer.

Installation

composer require paynl/psr-server-request

This will install the package into your project and autoload the helper function.

Usage

To create a PSR Server Request from the PHP Globals you can use the following method:

$serverRequest = create_psr_server_request();