PHPackages                             reagordi/contracts-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. [Framework](/categories/framework)
4. /
5. reagordi/contracts-exceptions

ActiveLibrary[Framework](/categories/framework)

reagordi/contracts-exceptions
=============================

Basic exception classes of the Reagordi Framework

1.0.0(2y ago)017[1 PRs](https://github.com/reagordi/contracts-exceptions/pulls)1BSD-3-ClausePHPPHP ^8.2

Since May 1Pushed 1y agoCompare

[ Source](https://github.com/reagordi/contracts-exceptions)[ Packagist](https://packagist.org/packages/reagordi/contracts-exceptions)[ Docs](https://reagordi.com/)[ GitHub Sponsors](https://github.com/sponsors/reagordi)[ OpenCollective](https://opencollective.com/reagordi)[ RSS](/packages/reagordi-contracts-exceptions/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (3)Used By (1)

 [ ![Reagordi](https://raw.githubusercontent.com/reagordi/docs/main/images/logo.png) ](https://github.com/reagordi)

Reagordi Contracts Exceptions
=============================

[](#reagordi-contracts-exceptions)

[![Latest Stable Version](https://camo.githubusercontent.com/336a155518e19896fcfa75ae4b54b42727bc532bac5987232ecccdf9f6868dd3/68747470733a2f2f706f7365722e707567782e6f72672f726561676f7264692f636f6e7472616374732d657863657074696f6e732f762f737461626c652e706e67)](https://packagist.org/packages/reagordi/contracts-exceptions)[![Total Downloads](https://camo.githubusercontent.com/f5592bd9e35cb7b3bdae56aa8e867868b4d006b843a06717e8b4b682f19f3adf/68747470733a2f2f706f7365722e707567782e6f72672f726561676f7264692f636f6e7472616374732d657863657074696f6e732f646f776e6c6f6164732e706e67)](https://packagist.org/packages/reagordi/contracts-exceptions)[![Build status](https://github.com/reagordi/contracts-exceptions/workflows/build/badge.svg)](https://github.com/reagordi/contracts-exceptions/actions?query=workflow%3Abuild)[![Code Coverage](https://camo.githubusercontent.com/99fd197148da7d6e274873dc9920a5424e6283e981bf58097c27ee4e48efa767/68747470733a2f2f636f6465636f762e696f2f67682f726561676f7264692f636f6e7472616374732d657863657074696f6e732f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/reagordi/contracts-exceptions)

[![Mutation testing badge](https://camo.githubusercontent.com/90deec8654a35b462db6937fdd072cc60132efa87843b19b9a25933941a52fae/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d253246726561676f726469253246636f6e7472616374732d657863657074696f6e732532466d61696e)](https://dashboard.stryker-mutator.io/reports/github.com/reagordi/contracts-exceptions/main)

[![static analysis](https://github.com/reagordi/contracts-exceptions/workflows/static%20analysis/badge.svg)](https://github.com/reagordi/contracts-exceptions/actions?query=workflow%3A%22static+analysis%22)[![type-coverage](https://camo.githubusercontent.com/3d4f015ec858f002622e72a795fcafbed9c3ca89dd2c2127df456a924c9a2b6d/68747470733a2f2f73686570686572642e6465762f6769746875622f726561676f7264692f636f6e7472616374732d657863657074696f6e732f636f7665726167652e737667)](https://shepherd.dev/github/reagordi/contracts-exceptions)[![psalm-level](https://camo.githubusercontent.com/1cbc91946815eaa28da96225125b1d81e8050941327ba35984091ef1aabf6fe2/68747470733a2f2f73686570686572642e6465762f6769746875622f726561676f7264692f636f6e7472616374732d657863657074696f6e732f6c6576656c2e737667)](https://shepherd.dev/github/reagordi/contracts-exceptions)

Basic exception classes of the Reagordi Framework

Requirements
------------

[](#requirements)

- PHP 8.2 or higher.

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

[](#installation)

The package could be installed with composer:

```
composer require reagordi/contracts-exceptions
```

General usage
-------------

[](#general-usage)

Testing
-------

[](#testing)

### Unit testing

[](#unit-testing)

The package is tested with [PHPUnit](https://phpunit.de/). To run tests:

```
./vendor/bin/phpunit
```

### Mutation testing

[](#mutation-testing)

The package tests are checked with [Infection](https://infection.github.io/) mutation framework with [Infection Static Analysis Plugin](https://github.com/Roave/infection-static-analysis-plugin). To run it:

```
./vendor/bin/roave-infection-static-analysis-plugin
```

### Static analysis

[](#static-analysis)

The code is statically analyzed with [Psalm](https://psalm.dev/). To run static analysis:

```
./vendor/bin/psalm
```

### Code style

[](#code-style)

Use [Rector](https://github.com/rectorphp/rector) to make codebase follow some specific rules or use either newest or any specific version of PHP:

```
./vendor/bin/rector
```

### Dependencies

[](#dependencies)

Use [ComposerRequireChecker](https://github.com/maglnet/ComposerRequireChecker) to detect transitive [Composer](https://getcomposer.org/) dependencies.

License
-------

[](#license)

The Reagordi Contracts Exceptions is free software. It is released under the terms of the BSD License. Please see [`LICENSE`](./LICENSE.md) for more information.

Maintained by [Reagordi Group](https://reagordi.com/).

Support the project
-------------------

[](#support-the-project)

[![Open Collective](https://camo.githubusercontent.com/a2b15f8e2268d4e3842e00d41ff7a57cce2ad8bd8d8769c5dc4fa05a546a4f62/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4f70656e253230436f6c6c6563746976652d73706f6e736f722d3765616466313f6c6f676f3d6f70656e253230636f6c6c656374697665266c6f676f436f6c6f723d376561646631266c6162656c436f6c6f723d353535353535)](https://opencollective.com/reagordi)

Follow updates
--------------

[](#follow-updates)

[![Official website](https://camo.githubusercontent.com/6a9d4aa1288d146b322d9ba818873c4f16750410331596e0ce8b3d061fbdcd63/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f77657265645f62792d526561676f7264695f4672616d65776f726b2d677265656e2e7376673f7374796c653d666c6174)](https://reagordi.com/)[![Telegram](https://camo.githubusercontent.com/4e38dd12535575c39c65bea7119b95e663abb2d1f4e3d669a27bbda07ef603f0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f74656c656772616d2d6a6f696e2d3144413146323f7374796c653d666c6174266c6f676f3d74656c656772616d)](https://t.me/reagordi_community)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

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

738d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/88198d1b31083878cd6056a2b8411436356b7bada47797a4a4e00829f7d6e222?d=identicon)[rufov](/maintainers/rufov)

---

Top Contributors

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

---

Tags

exceptionexceptionsframeworkreagordiframeworkcontractsreagordi

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm, Rector

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[pestphp/pest-plugin-stressless

Stressless plugin for Pest

67792.6k16](/packages/pestphp-pest-plugin-stressless)[wpstarter/framework

The WpStarter Framework - Laravel Framework for WordPress

1810.1k4](/packages/wpstarter-framework)

PHPackages © 2026

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