PHPackages                             lorenzoferrarajr/lfj-error-layout - 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. lorenzoferrarajr/lfj-error-layout

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

lorenzoferrarajr/lfj-error-layout
=================================

LfjErrorLayout is a ZF2 module that allows you to use an alternative layout when a dispatch errors occur.

v1.0.1(12y ago)2834PHPPHP &gt;=5.3

Since Feb 4Pushed 12y ago1 watchersCompare

[ Source](https://github.com/lorenzoferrarajr/LfjErrorLayout)[ Packagist](https://packagist.org/packages/lorenzoferrarajr/lfj-error-layout)[ Docs](https://github.com/lorenzoferrarajr/LfjErrorLayout)[ RSS](/packages/lorenzoferrarajr-lfj-error-layout/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (3)Used By (0)

LfjErrorLayout
==============

[](#lfjerrorlayout)

Version 1.0 Created By Lorenzo Ferrara Junior

Introduction
------------

[](#introduction)

LfjErrorLayout is a ZF2 module that allows you to use an alternative layout when a dispatch errors occur.

Usage
-----

[](#usage)

To enable the module just add it to your `application.config.php` file.

**Note that you must add it before any other module or your custom configuration options could be replaced with the default ones!**

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

[](#configuration)

Optionally, you can configure your custom `layout/error`, `error/404` and `error/index` paths in the view\_manager option in any module configuration:

```
return array(
    [...]
    'view_manager' => array(
        [...]
        'layout/error'           => __DIR__ . '/../view/layout/error.phtml',
        'error/404'              => __DIR__ . '/../view/error/404.phtml',
        'error/index'            => __DIR__ . '/../view/error/index.phtml',
        [...]
    )
    [...]
);
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Every ~0 days

Total

2

Last Release

4478d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/70f7c438f3654500019a262525baa737df7459d7436b51e1ff044999a1c19b1b?d=identicon)[lorenzoferrarajr](/maintainers/lorenzoferrarajr)

---

Top Contributors

[![lorenzoferrarajr](https://avatars.githubusercontent.com/u/1518144?v=4)](https://github.com/lorenzoferrarajr "lorenzoferrarajr (11 commits)")

---

Tags

zf2

### Embed Badge

![Health badge](/badges/lorenzoferrarajr-lfj-error-layout/health.svg)

```
[![Health](https://phpackages.com/badges/lorenzoferrarajr-lfj-error-layout/health.svg)](https://phpackages.com/packages/lorenzoferrarajr-lfj-error-layout)
```

###  Alternatives

[zf-commons/zfc-base

A set of genetic (abstract) classes which are commonly used across multiple modules.

1441.1M25](/packages/zf-commons-zfc-base)[slm/google-analytics

Google Analytics tracking integration for Zend Framework 2

4180.3k](/packages/slm-google-analytics)[robertboloc/zf2-components-list-generator

Generate a list of Zend Framework 2 components used by a library

1528.1k1](/packages/robertboloc-zf2-components-list-generator)[dkcwd/dkcwd-zf2-munee

Zend Framework 2 module leveraging 'munee' an asset optimisation library developed by Cody Lundquist. You can find munee at http://github.com/meenie/munee

102.1k](/packages/dkcwd-dkcwd-zf2-munee)

PHPackages © 2026

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