PHPackages                             phphacks/zend-httperrors - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. phphacks/zend-httperrors

ActiveLibrary[HTTP &amp; Networking](/categories/http)

phphacks/zend-httperrors
========================

v1.0.5(5y ago)08.7kMITPHP

Since Jul 19Pushed 5y ago2 watchersCompare

[ Source](https://github.com/phphacks/zend-httperrors)[ Packagist](https://packagist.org/packages/phphacks/zend-httperrors)[ RSS](/packages/phphacks-zend-httperrors/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (3)Versions (9)Used By (0)

zend-httperrors
===============

[](#zend-httperrors)

Http compliant error reporting structure for zend framework.

`composer require phphacks/zend-httperrors`

### Add to your modules.config.php

[](#add-to-your-modulesconfigphp)

```
return [
  'Zend\HttpErrors',
  'My\Other\Modules'
];
```

### Then throw an HttpErrorException

[](#then-throw-an-httperrorexception)

```
class MyController
{
   private $auth;

   public function __construct(AuthorizationService $auth)
   {
      $this->auth = $auth;
   }

   public function doSomethingAction()
   {
      if(!$auth->isAuthorized()) {
         throw new HttpUnauthorizedException();
      }
   }
}
```

That's just it.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 89.3% 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 ~160 days

Recently: every ~199 days

Total

6

Last Release

2103d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/36308948?v=4)[hexdec(uname)](/maintainers/0x3175633435)[@0x3175633435](https://github.com/0x3175633435)

---

Top Contributors

[![0x3175633435](https://avatars.githubusercontent.com/u/36308948?v=4)](https://github.com/0x3175633435 "0x3175633435 (25 commits)")[![fernandoscolari](https://avatars.githubusercontent.com/u/40249027?v=4)](https://github.com/fernandoscolari "fernandoscolari (2 commits)")[![mgarcia88](https://avatars.githubusercontent.com/u/18174474?v=4)](https://github.com/mgarcia88 "mgarcia88 (1 commits)")

---

Tags

errorframeworkhttpphpresponseszend

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/phphacks-zend-httperrors/health.svg)

```
[![Health](https://phpackages.com/badges/phphacks-zend-httperrors/health.svg)](https://phpackages.com/packages/phphacks-zend-httperrors)
```

###  Alternatives

[illuminate/http

The Illuminate Http package.

11937.2M6.6k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[zfr/zfr-cors

Zend Framework module that let you deal with CORS requests

601.3M3](/packages/zfr-zfr-cors)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87930.4k113](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.3M84](/packages/mezzio-mezzio-router)[zfr/zfr-rest

Zend Framework 2 REST Module.

8120.7k](/packages/zfr-zfr-rest)

PHPackages © 2026

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