PHPackages                             lithemod/httpexception - 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. lithemod/httpexception

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

lithemod/httpexception
======================

Custom HTTP exceptions.

v1.0.0(1y ago)02992MIT

Since Oct 2Pushed 1y agoCompare

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

READMEChangelogDependenciesVersions (2)Used By (2)

Lithe HttpException
===================

[](#lithe-httpexception)

Custom HTTP exceptions for the Lithe.

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

[](#installation)

You can install this package via [Composer](https://getcomposer.org/). Follow the instructions below:

### Step 1: Add the package

[](#step-1-add-the-package)

Run the following command to add the package to your project:

```
composer require lithemod/httpexception
```

### Step 2: Autoloading

[](#step-2-autoloading)

The package uses the PSR-4 autoloading standard. The exceptions will be available under the `Lithe\Exceptions\Http` namespace. Make sure that autoloading is properly configured in your project.

### Step 3: Usage

[](#step-3-usage)

You can now use the custom HTTP exceptions in your project. Example usage:

```
use Lithe\Exceptions\Http\HttpException;

try {
    throw new HttpException(404, 'Page not found');
} catch (HttpException $e) {
    echo 'Error ' . $e->getStatusCode() . ': ' . $e->getMessage();
}
```

License
-------

[](#license)

This package is licensed under the MIT license. See the [LICENSE](LICENSE) file for more details.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

640d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/56173de3a7bf7099dd8168efd730d3c2fb5df5174a123fdc37cee8c3589e2345?d=identicon)[williamhumbwavali](/maintainers/williamhumbwavali)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/lithemod-httpexception/health.svg)

```
[![Health](https://phpackages.com/badges/lithemod-httpexception/health.svg)](https://phpackages.com/packages/lithemod-httpexception)
```

###  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)
