PHPackages                             tdt/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. [Testing &amp; Quality](/categories/testing)
4. /
5. tdt/exceptions

ActiveLibrary[Testing &amp; Quality](/categories/testing)

tdt/exceptions
==============

An exception package, made extensible through an ini file.

v1.4(13y ago)09512[1 issues](https://github.com/tdt/exceptions/issues)2AGPLv3PHPPHP &gt;=5.3.0

Since Feb 15Pushed 10y ago2 watchersCompare

[ Source](https://github.com/tdt/exceptions)[ Packagist](https://packagist.org/packages/tdt/exceptions)[ Docs](http://thedatatank.com)[ RSS](/packages/tdt-exceptions/feed)WikiDiscussions master Synced 1mo ago

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

exceptions
==========

[](#exceptions)

A repository to create and return exceptions according to an ini file.

Usage
=====

[](#usage)

You can include this in your PHP project through the PHP [composer](http://getcomposer.org). Using TDTExceptions is very easy:

```
throw new TDTException(452,array(parameter1, parameter2));
```

This will cause the class TDTException look in the exceptions.ini file. From that file it will extract the necessary information such documentation, and message to create a nice exception. In the exceptions.ini file you can see the message can accept parameters. These are the parameters you pass along with the constructor in the array as second parameter. In the ini file you can address these parameters by $1,$2,...

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~20 days

Total

5

Last Release

4759d ago

### Community

Maintainers

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

---

Top Contributors

[![coreation](https://avatars.githubusercontent.com/u/361244?v=4)](https://github.com/coreation "coreation (8 commits)")[![pietercolpaert](https://avatars.githubusercontent.com/u/347073?v=4)](https://github.com/pietercolpaert "pietercolpaert (5 commits)")[![hannesvdvreken](https://avatars.githubusercontent.com/u/1410358?v=4)](https://github.com/hannesvdvreken "hannesvdvreken (1 commits)")[![JeppeKnockaert](https://avatars.githubusercontent.com/u/1913807?v=4)](https://github.com/JeppeKnockaert "JeppeKnockaert (1 commits)")[![Tjoosten](https://avatars.githubusercontent.com/u/5157609?v=4)](https://github.com/Tjoosten "Tjoosten (1 commits)")

---

Tags

exceptions

### Embed Badge

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

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

###  Alternatives

[phpro/grumphp

A composer plugin that enables source code quality checks.

4.3k15.5M904](/packages/phpro-grumphp)[rollbar/rollbar

Monitors errors and exceptions and reports them to Rollbar

33723.7M82](/packages/rollbar-rollbar)[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

15511.5M30](/packages/magento-magento2-functional-testing-framework)[mayflower/php-codebrowser

A code browser that augments the code with information from various QA tools.

1352.2M61](/packages/mayflower-php-codebrowser)[honeybadger-io/honeybadger-laravel

Honeybadger Laravel integration

431.2M](/packages/honeybadger-io-honeybadger-laravel)[honeybadger-io/honeybadger-php

Honeybadger PHP library

381.5M4](/packages/honeybadger-io-honeybadger-php)

PHPackages © 2026

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