Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.09 KB

README.md

File metadata and controls

29 lines (19 loc) · 1.09 KB

PSR Server Request

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();