PHPackages                             flagrow/html-errors - 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. flagrow/html-errors

Abandoned → [fof/html-errors](/?search=fof%2Fhtml-errors)Flarum-extension[Utility &amp; Helpers](/categories/utility)

flagrow/html-errors
===================

Add custom HTML error pages

1.1.2(2y ago)81.5k[5 PRs](https://github.com/FriendsOfFlarum/html-errors/pulls)MITPHPCI failing

Since Apr 4Pushed 1w agoCompare

[ Source](https://github.com/FriendsOfFlarum/html-errors)[ Packagist](https://packagist.org/packages/flagrow/html-errors)[ Docs](https://friendsofflarum.org)[ Fund](https://opencollective.com/fof/donate)[ RSS](/packages/flagrow-html-errors/feed)WikiDiscussions 2.x Synced 5d ago

READMEChangelog (8)Dependencies (2)Versions (25)Used By (0)

Custom HTML Error Pages by FriendsOfFlarum
==========================================

[](#custom-html-error-pages-by-friendsofflarum)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667) [![Latest Stable Version](https://camo.githubusercontent.com/bdd549dd5b25338e78fd89cbe81761bdf7558a367c57d78437d33416fd598694/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666f662f68746d6c2d6572726f72732e737667)](https://packagist.org/packages/fof/html-errors) [![OpenCollective](https://camo.githubusercontent.com/1903c197bb0307e60d6328653532b8a6b9890b898fbc92e314ab39d699491e74/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6f70656e636f6c6c6563746976652d666f662d626c75652e737667)](https://opencollective.com/fof/donate)

This extension allows you to customize the Flarum error pages. By default these pages have only limited styling in Flarum. Now you can change them to something that better reflects your website!

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

[](#installation)

Use Bazaar or install it with Composer:

```
composer require fof/html-errors

```

Updating
--------

[](#updating)

```
composer update fof/html-errors

```

Configuration
-------------

[](#configuration)

Open the extension options to configure the custom HTML. Leaving a field empty will show the default Flarum error page.

The custom error pages are only applied when browsing the forum front-end. Any error response under /api or /admin is unaffected.

The custom error pages are not shown when debug mode is on.

You can handle additional error codes by entering the values manually in the `settings` table of the database.

Links
-----

[](#links)

[![OpenCollective](https://camo.githubusercontent.com/8ea53c451470d1a72789d650c77e2b22eee915f7fbf2cbeeeeaa25f47301efe2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f6e6174652d667269656e64736f66666c6172756d2d3434414545353f7374796c653d666f722d7468652d6261646765266c6f676f3d6f70656e2d636f6c6c656374697665)](https://opencollective.com/fof/donate)

- [Flarum Discuss post](https://discuss.flarum.org/d/10784)
- [Packagist](https://packagist.org/packages/fof/html-errors)
- [GitHub](https://github.com/FriendsOfFlarum/html-errors)

An extension by [FriendsOfFlarum](https://github.com/FriendsOfFlarum).

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance64

Regular maintenance activity

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~276 days

Total

16

Last Release

52d ago

Major Versions

0.6.0 → 1.0.02021-05-25

1.x-dev → 2.0.0-beta.12026-03-13

### Community

Maintainers

![](https://www.gravatar.com/avatar/0538135c1debcef5602dce7ece027909cc832b7a6284ab9189a19aa8de98d60d?d=identicon)[clarkwinkelmann](/maintainers/clarkwinkelmann)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (11 commits)")[![imorland](https://avatars.githubusercontent.com/u/16573496?v=4)](https://github.com/imorland "imorland (11 commits)")[![clarkwinkelmann](https://avatars.githubusercontent.com/u/5264300?v=4)](https://github.com/clarkwinkelmann "clarkwinkelmann (9 commits)")[![flarum-bot](https://avatars.githubusercontent.com/u/39334649?v=4)](https://github.com/flarum-bot "flarum-bot (9 commits)")[![iPurpl3x](https://avatars.githubusercontent.com/u/18526076?v=4)](https://github.com/iPurpl3x "iPurpl3x (1 commits)")[![karaok491](https://avatars.githubusercontent.com/u/72854852?v=4)](https://github.com/karaok491 "karaok491 (1 commits)")

---

Tags

pagehtmlerrorextensionflarum

### Embed Badge

![Health badge](/badges/flagrow-html-errors/health.svg)

```
[![Health](https://phpackages.com/badges/flagrow-html-errors/health.svg)](https://phpackages.com/packages/flagrow-html-errors)
```

###  Alternatives

[fof/sitemap

Generate a sitemap

1988.7k2](/packages/fof-sitemap)[fof/mason

Add custom fields to discussions

206.0k](/packages/fof-mason)

PHPackages © 2026

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