PHPackages                             jdwx/web-pages - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. jdwx/web-pages

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jdwx/web-pages
==============

v1.0.0(5mo ago)0941MITPHPPHP &gt;=8.3.0

Since Nov 28Pushed 5mo agoCompare

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

READMEChangelog (1)Dependencies (6)Versions (2)Used By (1)

jdwx/web-pages
==============

[](#jdwxweb-pages)

PHP module for building up simple pages (e.g., for error messages)

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

[](#installation)

You can require it directly with Composer:

```
composer require jdwx/web-pages
```

Or download the source from GitHub:

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

[](#requirements)

This module requires PHP 8.3 or later.

Usage
-----

[](#usage)

This module provides simplified ways to build various types of responses. It's mostly used for error pages or other places where a full application context may not be available or appropriate.

Here's a simple example:

```
$page = new SimpleHtmlPage();
$page->setTitle( 'Example Page' );
$page->addContent( 'This is an example page.' );
echo $page;
```

```
>

    Example Page

This is an example page.

```

(It won't be formatted quite like this because the editor for this file automatically reformats.)

Stability
---------

[](#stability)

This module is considered stable and is extensively used in production code, but in relatively low volume due to the nature of the functionality it provides.

The module has complete test coverage.

History
-------

[](#history)

This module was refactored out of the jdwx/web-php module in November 2025.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance70

Regular maintenance activity

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

168d ago

### 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-pages/health.svg)

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

PHPackages © 2026

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