PHPackages                             coderockr/http-exceptions - 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. coderockr/http-exceptions

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

coderockr/http-exceptions
=========================

Http Exceptions

64.2k↓46.9%2PHP

Since Oct 31Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Coderockr/HttpException)[ Packagist](https://packagist.org/packages/coderockr/http-exceptions)[ RSS](/packages/coderockr-http-exceptions/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

HttpException
=============

[](#httpexception)

PHP Exceptions related to HTTP Status Codes

Using:

```
try {
   $this->foo();
} catch (\Exception $exception) {
   throw new Exception\NotFoundException("foo not found :c", $exception);
}
```

based on the work of Pavel Sterba -  Thanks :D

[Usage Suggestion](USAGE_SUGGESTION.md)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f5cd2cdabf326d8af0039f3f797b46965310f9cceab664ececd8b2d30ab734a4?d=identicon)[eminetto](/maintainers/eminetto)

---

Top Contributors

[![eminetto](https://avatars.githubusercontent.com/u/197939?v=4)](https://github.com/eminetto "eminetto (7 commits)")[![jalxes](https://avatars.githubusercontent.com/u/28761069?v=4)](https://github.com/jalxes "jalxes (6 commits)")[![lucassabreu](https://avatars.githubusercontent.com/u/3457213?v=4)](https://github.com/lucassabreu "lucassabreu (2 commits)")

### Embed Badge

![Health badge](/badges/coderockr-http-exceptions/health.svg)

```
[![Health](https://phpackages.com/badges/coderockr-http-exceptions/health.svg)](https://phpackages.com/packages/coderockr-http-exceptions)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

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

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M92](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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