PHPackages                             setbased/exception - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. setbased/exception

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

setbased/exception
==================

Exceptions with format string

2.6.0(11mo ago)1302.7k—7.5%120MITPHPPHP &gt;=8.3CI passing

Since Apr 16Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/SetBased/php-exception)[ Packagist](https://packagist.org/packages/setbased/exception)[ RSS](/packages/setbased-exception/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (13)Used By (20)

Exceptions with format string
=============================

[](#exceptions-with-format-string)

SocialLegalReleaseTests[![Gitter](https://camo.githubusercontent.com/a85934e99f3e13ba86c2283863d702ef5df6b128c3fb59ca4e505d276d494826/68747470733a2f2f6261646765732e6769747465722e696d2f53657442617365642f7068702d6162632e737667)](https://gitter.im/SetBased/php-abc?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)[![License](https://camo.githubusercontent.com/335ff14a461f80b31d5ff569f0c415475faf1581fe80edbdc4a057015a97f310/68747470733a2f2f706f7365722e707567782e6f72672f73657462617365642f657863657074696f6e2f6c6963656e7365)](https://packagist.org/packages/setbased/exception)[![Latest Stable Version](https://camo.githubusercontent.com/44390f0deb01c5d500ff74da9856df1ffeb8c16824001da8210c1a1ddcaf284c/68747470733a2f2f706f7365722e707567782e6f72672f73657462617365642f657863657074696f6e2f762f737461626c65)](https://packagist.org/packages/setbased/exception)
[![Build Status](https://github.com/SetBased/php-exception/actions/workflows/unit.yml/badge.svg)](https://github.com/SetBased/php-exception/actions/workflows/unit.yml)
[![Code Coverage](https://camo.githubusercontent.com/421adf89fd9f48c28e684aa9685ba9428418ff308132cd04fc0ebe2a648679f5/68747470733a2f2f636f6465636f762e696f2f67682f53657442617365642f7068702d657863657074696f6e2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/SetBased/php-exception)This package provides exceptions with messages according a format string like [sprintf](http://php.net/manual/en/function.sprintf.php).

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance51

Moderate activity, may be stable

Popularity37

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 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

Every ~303 days

Recently: every ~401 days

Total

12

Last Release

344d ago

Major Versions

1.1.0 → 2.0.02019-11-08

PHP version history (9 changes)1.0.0PHP &gt;=5.4.0

1.1.0PHP &gt;=7.0.0

2.0.0PHP &gt;=7.1.0

2.1.0PHP &gt;=7.3.0

2.1.1PHP &gt;=7.3

2.2.0PHP &gt;=7.4

2.3.0PHP &gt;=8.1

2.4.0PHP &gt;=8.2

2.5.0PHP &gt;=8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/67edc824131704a5270570c8bba7fc52986f3e70a0389aca6b13ea87ca4d9710?d=identicon)[Paul Water](/maintainers/Paul%20Water)

---

Top Contributors

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

---

Tags

exceptionformat

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/setbased-exception/health.svg)

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

###  Alternatives

[willdurand/negotiation

Content Negotiation tools for PHP provided as a standalone library.

1.4k122.0M157](/packages/willdurand-negotiation)[akaunting/laravel-money

Currency formatting and conversion package for Laravel

7825.3M18](/packages/akaunting-laravel-money)[pear/pear_exception

The PEAR Exception base class.

9880.2M101](/packages/pear-pear-exception)[gabrielelana/byte-units

Library to parse, format and convert byte units

1672.2M19](/packages/gabrielelana-byte-units)[gajus/dindent

HTML indentation library for development and testing.

1781.9M50](/packages/gajus-dindent)[yireo/magento2-webp2

Magento 2 module to add WebP support to the Magento frontend

2091.2M7](/packages/yireo-magento2-webp2)

PHPackages © 2026

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