PHPackages                             paynl/psr-server-request - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. paynl/psr-server-request

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

paynl/psr-server-request
========================

Create a PSR Server Request from PHP Globals

1.0.1(2y ago)015.6k↓52.9%1proprietaryPHPPHP ^7.4 | ^8

Since Nov 27Pushed 2y ago3 watchersCompare

[ Source](https://github.com/paynl/psr-server-request)[ Packagist](https://packagist.org/packages/paynl/psr-server-request)[ RSS](/packages/paynl-psr-server-request/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (2)Dependencies (8)Versions (3)Used By (1)

PSR Server Request
==================

[](#psr-server-request)

[![Static Code Analysis](https://github.com/paynl/psr-server-request/actions/workflows/code-analysis.yaml/badge.svg)](https://github.com/paynl/psr-server-request/actions/workflows/code-analysis.yaml)[![PHPUnit tests](https://github.com/paynl/psr-server-request/actions/workflows/phpunit.yaml/badge.svg)](https://github.com/paynl/psr-server-request/actions/workflows/phpunit.yaml)[![Coverage Status](https://camo.githubusercontent.com/6ab946552d2c076d1244416b56e192a7856aaef7741b31625a3e97b9c65f27e2/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7061796e6c2f7073722d7365727665722d726571756573742f62616467652e7376673f6272616e63683d666561747572652f7073722d7365727665722d726571756573742d7061636b616765)](https://coveralls.io/github/paynl/psr-server-request?branch=feature/psr-server-request-package)

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

Requirements
------------

[](#requirements)

To install this package you need:

- PHP &gt;= 7.4;
- composer.

Installation
------------

[](#installation)

```
composer require paynl/psr-server-request

```

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

Usage
-----

[](#usage)

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

```
$serverRequest = create_psr_server_request();
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

949d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3de4fdf653f1c9f2fd2fd25bb1ee8c5cfc05051f17a41759099e44fc47f6a089?d=identicon)[paynl](/maintainers/paynl)

---

Top Contributors

[![kjansenpay](https://avatars.githubusercontent.com/u/151923535?v=4)](https://github.com/kjansenpay "kjansenpay (3 commits)")[![paynl-wesley](https://avatars.githubusercontent.com/u/60603462?v=4)](https://github.com/paynl-wesley "paynl-wesley (2 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/paynl-psr-server-request/health.svg)

```
[![Health](https://phpackages.com/badges/paynl-psr-server-request/health.svg)](https://phpackages.com/packages/paynl-psr-server-request)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[getgrav/grav

Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS

15.6k86.4k1](/packages/getgrav-grav)[bref/bref

Bref is a framework to write and deploy serverless PHP applications on AWS Lambda.

3.4k10.6M67](/packages/bref-bref)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[aimeos/aimeos-core

Full-featured e-commerce components for high performance online shops

4.5k361.1k75](/packages/aimeos-aimeos-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
