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)02962MIT

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 1mo ago

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

26

—

LowBetter than 43% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity13

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

591d 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

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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