PHPackages                             jdwx/web - 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. jdwx/web

ActiveLibrary

jdwx/web
========

v3.0.8(3mo ago)14933MITPHPPHP &gt;=8.3.0

Since Dec 5Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/jdwx/web-php)[ Packagist](https://packagist.org/packages/jdwx/web)[ RSS](/packages/jdwx-web/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (12)Versions (68)Used By (3)

jdwx/web-php
============

[](#jdwxweb-php)

Basic library code for web applications in PHP.

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

[](#installation)

You can require it directly with Composer:

```
composer require jdwx/web-php
```

Or download the source from GitHub:

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

[](#requirements)

This module requires PHP 8.3 or later.

Usage
-----

[](#usage)

The most-used functionality of this module is providing a type-safe interface to the web-related superglobals. Here is a basic usage example:

```
$req = Request::getGlobal();

# Returns a Parameter or null if the parameter is not set.
$param = $req->get( 'param' );

# Returns a Parameter or throws an exception if the parameter is not set.
$param = $req->getEx( 'param' );

# Get a parameter as a string, exploding if either assumption (that it
# exists and is a string) is false. (See jdwx_param for other types and
# conversions available.) This is the most common idiom for getting
# parameters from the request safely.
$param = $req->postEx( 'param' )->asString();

# Get the contents of a file upload without moving it to a permanent location.
$param = $req->FILES()->fetchAsString( 'file_param' );
```

There are many unit tests for this module that provide additional examples of usage.

Stability
---------

[](#stability)

This bulk of this module (include functionality related to requests, sessions, server values, and files) is considered stable and is extensively used in production code, handling millions of requests per day.

The test coverage is very good but not complete. Some web-related functionality is difficult to test in a unit test. Everything else should be covered.

History
-------

[](#history)

This module was adapted from a private repository in December 2024. The Framework and Pages code moved to separate modules in November 2025.

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance82

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~6 days

Recently: every ~1 days

Total

67

Last Release

90d ago

Major Versions

v1.1.6 → v2.0.02025-03-22

v2.1.26 → v3.0.02025-11-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/f71b4b976170f89eac19be48c7381a27c49ed8c9cb5e8e6ff05a2ad7583efa13?d=identicon)[jdwx](/maintainers/jdwx)

---

Top Contributors

[![jdwx](https://avatars.githubusercontent.com/u/2722779?v=4)](https://github.com/jdwx "jdwx (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/jdwx-web/health.svg)

```
[![Health](https://phpackages.com/badges/jdwx-web/health.svg)](https://phpackages.com/packages/jdwx-web)
```

###  Alternatives

[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k5](/packages/elgg-elgg)[api-platform/metadata

API Resource-oriented metadata attributes and factories

243.5M96](/packages/api-platform-metadata)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[flowwow/cloudpayments-php-client

cloudpayments api client

2188.2k](/packages/flowwow-cloudpayments-php-client)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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