PHPackages                             rev/sway-expage - 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. rev/sway-expage

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

rev/sway-expage
===============

Emulates behaviour of SwayExPage

v1.1.0(9y ago)042GPL-3.0HTML

Since Mar 12Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Reverze/sway-expage)[ Packagist](https://packagist.org/packages/rev/sway-expage)[ RSS](/packages/rev-sway-expage/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)DependenciesVersions (5)Used By (0)

Sway ExPage
===========

[](#sway-expage)

Emulates behaviour of SwayExPage.

This library allows you to show beautiful errors pages against PHP error page.

\##Features

- Hides errors for normal users
- Beautiful formatting for cli output
- Customized errors pages
- Logging to files
- Error output show control

\##Installation

```
composer require rev/sway-expage

```

This will install this package at newest version. Composer package manager is required.

\##Usage It is very simple:

```
use Rev\ExPage;

$exPage = new ExPage\Manager(true,[
    'dirname' => __DIR__,
    'filelog' => 'default.log',
    'template' => 'default',
    'separate' => [
        'errors' => 'errors.log',
        'exceptions' => 'exceptions.log'
    ],
    'cli_view' => [
        'error' => [
            'show_file' => true,
            'show_line' => true,
            'show_scope' => true
        ],
        'exception' => [
            'show_file' => true,
            'show_line' => true,
            'show_trace' => true
        ]
    ]
]);
```

Parameter *dirname* points to directory where log files should be stored. If you want to separate files log to exception logs and errors logs define look into parameter *separate*.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

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 ~0 days

Total

3

Last Release

3350d ago

Major Versions

0.2.x-dev → 1.1.x-dev2017-03-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/2504dc6e0052993792c1a10e18f92a56c8579e1c7ffb6aaf5cbdfd9d51ca281f?d=identicon)[Reverze](/maintainers/Reverze)

---

Top Contributors

[![Reverze](https://avatars.githubusercontent.com/u/5349419?v=4)](https://github.com/Reverze "Reverze (26 commits)")

### Embed Badge

![Health badge](/badges/rev-sway-expage/health.svg)

```
[![Health](https://phpackages.com/badges/rev-sway-expage/health.svg)](https://phpackages.com/packages/rev-sway-expage)
```

PHPackages © 2026

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