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

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

4d47/http-exceptions
====================

v1.0(12y ago)13301PHPPHP &gt;= 5.3.0

Since Jan 2Pushed 11y ago1 watchersCompare

[ Source](https://github.com/4d47/php-http-exceptions)[ Packagist](https://packagist.org/packages/4d47/http-exceptions)[ RSS](/packages/4d47-http-exceptions/feed)WikiDiscussions master Synced yesterday

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

php-http-exception
==================

[](#php-http-exception)

An exception hierarchy to represent HTTP errors and redirections

[Exception](src/Http/Exception.php)

- [3xx Redirection](src/Http/Redirection.php)
    - [300 MultipleChoices](src/Http/MultipleChoices.php)
    - [301 MovedPermanently](src/Http/MovedPermanently.php)
    - [302 Found](src/Http/Found.php)
    - [303 SeeOther](src/Http/SeeOther.php)
    - [304 NotModified](src/Http/NotModified.php)
    - [305 UseProxy](src/Http/UseProxy.php)
    - [306 SwitchProxy](src/Http/SwitchProxy.php)
    - [307 TemporaryRedirect](src/Http/TemporaryRedirect.php)
    - [308 PermanentRedirect](src/Http/PermanentRedirect.php)
- [Error](src/Http/Error.php)
    - [4xx ClientError](src/Http/ClientError.php)
        - [400 BadRequest](src/Http/BadRequest.php)
        - [401 Unauthorized](src/Http/Unauthorized.php)
        - [402 PaymentRequired](src/Http/PaymentRequired.php)
        - [403 Forbidden](src/Http/Forbidden.php)
        - [404 NotFound](src/Http/NotFound.php)
        - [405 MethodNotAllowed](src/Http/MethodNotAllowed.php)
        - [406 NotAcceptable](src/Http/NotAcceptable.php)
        - [407 ProxyAuthenticationRequired](src/Http/ProxyAuthenticationRequired.php)
        - [408 RequestTimeout](src/Http/RequestTimeout.php)
        - [409 Conflict](src/Http/Conflict.php)
        - [410 Gone](src/Http/Gone.php)
        - [411 LengthRequired](src/Http/LengthRequired.php)
        - [412 PreconditionFailed](src/Http/PreconditionFailed.php)
        - [413 RequestEntityTooLarge](src/Http/RequestEntityTooLarge.php)
        - [414 RequestUriTooLong](src/Http/RequestUriTooLong.php)
        - [415 UnsupportedMediaType](src/Http/UnsupportedMediaType.php)
        - [416 RequestRangeNotSatisfiable](src/Http/RequestRangeNotSatisfiable.php)
        - [417 ExpectationFailed](src/Http/ExpectationFailed.php)
        - [418 ImATeapot](src/Http/ImATeapot.php)
        - [419 AuthenticationTimeout](src/Http/AuthenticationTimeout.php)
        - [426 UpgradeRequired](src/Http/UpgradeRequired.php)
        - [428 PreconditionRequired](src/Http/PreconditionRequired.php)
        - [429 TooManyRequests](src/Http/TooManyRequests.php)
        - [431 RequestHeaderFieldsTooLarge](src/Http/RequestHeaderFieldsTooLarge.php)
    - [5xx ServerError](src/Http/ServerError.php)
        - [500 InternalServerError](src/Http/InternalServerError.php)
        - [501 NotImplemented](src/Http/NotImplemented.php)
        - [502 BadGateway](src/Http/BadGateway.php)
        - [503 ServiceUnavailable](src/Http/ServiceUnavailable.php)
        - [504 GatewayTimeout](src/Http/GatewayTimeout.php)
        - [505 HttpVersionNotSupported](src/Http/HttpVersionNotSupported.php)
        - [506 VariantAlsoNegotiates](src/Http/VariantAlsoNegotiates.php)
        - [509 BandwidthLimitExceeded](src/Http/BandwidthLimitExceeded.php)
        - [510 NotExtended](src/Http/NotExtended.php)
        - [511 NetworkAuthenticationRequired](src/Http/NetworkAuthenticationRequired.php)
        - [522 ConnectionTimedOut](src/Http/ConnectionTimedOut.php)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

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

4561d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1c1f7f19402246b0c27cb6428889b9d44a9f11018d3d2dc8734cfd8757af7dd3?d=identicon)[4d47](/maintainers/4d47)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25025.5M80](/packages/php-http-cache-plugin)[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)[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)[serpapi/google-search-results-php

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

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

PHPackages © 2026

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