PHPackages                             tenkoma/cakephp-apache-error-theme - 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. tenkoma/cakephp-apache-error-theme

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

tenkoma/cakephp-apache-error-theme
==================================

Make error pages Apache web server style.

0.1(9y ago)05MITPHP

Since Jan 21Pushed 9y ago1 watchersCompare

[ Source](https://github.com/tenkoma/cakephp-apache-error-theme)[ Packagist](https://packagist.org/packages/tenkoma/cakephp-apache-error-theme)[ RSS](/packages/tenkoma-cakephp-apache-error-theme/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

CakePHP Apache error theme plugin
=================================

[](#cakephp-apache-error-theme-plugin)

Make error pages Apache web server style.

[![Not Found](docs/cake-not-found.png)](docs/cake-not-found.png)

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

[](#installation)

You can install using [composer](http://getcomposer.org).

```
composer require tenkoma/cakephp-apache-error-theme

```

Enable Plugin
-------------

[](#enable-plugin)

You can load the plugin using the shell command:

```
bin/cake plugin load CakeApacheErrorTheme

```

Or you can manually add the loading statement in the config/bootstrap.php file of your application:

```
// config/bootstrap.php
Plugin::load('CakeApacheErrorTheme');
```

Enable theme
------------

[](#enable-theme)

set theme in the `ErrorController::beforeRender()`.

```
// src/Controller/ErrorController.php
    public function beforeRender(Event $event)
    {
        parent::beforeRender($event);

        $this->viewBuilder()->theme('CakeApacheErrorTheme');
    }
```

and `debug = false` in the `config/app.php`

```
// config/app.php
    'debug' => false,
```

Configure
---------

[](#configure)

```
// config/bootstrap.php
Configure::write('CakeApacheErrorTheme', [
    'signature' => 'cake',
    'email' => 'webmaster@example.com',
]);
```

- `signature`
    - `apache` (default)
    - `cake` show CakePHP and version as signature.
- `email` (default=`webmaster@localhost`) E-mail address to be displayed at 5xx error

Example
-------

[](#example)

### 404 Not Found

[](#404-not-found)

[![Not Found](docs/not-found.png)](docs/not-found.png)

### 5xx Internal Error

[](#5xx-internal-error)

[![Internal Error](docs/internal-error.png)](docs/internal-error.png)

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

3449d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16202?v=4)[Koji Tanaka](/maintainers/tenkoma)[@tenkoma](https://github.com/tenkoma)

---

Top Contributors

[![tenkoma](https://avatars.githubusercontent.com/u/16202?v=4)](https://github.com/tenkoma "tenkoma (7 commits)")

---

Tags

cakephperror-theme

### Embed Badge

![Health badge](/badges/tenkoma-cakephp-apache-error-theme/health.svg)

```
[![Health](https://phpackages.com/badges/tenkoma-cakephp-apache-error-theme/health.svg)](https://phpackages.com/packages/tenkoma-cakephp-apache-error-theme)
```

###  Alternatives

[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

3361.0M51](/packages/dereuromark-cakephp-tools)[cakephp/bake

Bake plugin for CakePHP

11212.0M196](/packages/cakephp-bake)[dereuromark/cakephp-queue

The Queue plugin for CakePHP provides deferred task execution.

308954.9k25](/packages/dereuromark-cakephp-queue)[dereuromark/cakephp-ide-helper

CakePHP IdeHelper Plugin to improve auto-completion

1882.3M41](/packages/dereuromark-cakephp-ide-helper)[dereuromark/cakephp-dto

A CakePHP plugin for generating immutable Data Transfer Objects with full type safety

3099.1k6](/packages/dereuromark-cakephp-dto)[dereuromark/cakephp-tinyauth

A CakePHP plugin to handle user authentication and authorization the easy way.

131240.2k13](/packages/dereuromark-cakephp-tinyauth)

PHPackages © 2026

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