PHPackages                             simpod/phpstan-brick-math - 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. simpod/phpstan-brick-math

ActivePhpstan-extension

simpod/phpstan-brick-math
=========================

PHPStan dynamic throw type extensions for brick/math

v0.1.1(1mo ago)1750—0%MITPHPPHP ^8.4

Since Mar 13Pushed 1mo agoCompare

[ Source](https://github.com/simPod/phpstan-brick-math)[ Packagist](https://packagist.org/packages/simpod/phpstan-brick-math)[ RSS](/packages/simpod-phpstan-brick-math/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (4)Versions (3)Used By (0)

PHPStan Brick Math
==================

[](#phpstan-brick-math)

PHPStan extensions that narrow throw types for [brick/math](https://github.com/brick/math).

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

[](#installation)

```
composer require --dev simpod/phpstan-brick-math

```

If you use [phpstan/extension-installer](https://github.com/phpstan/extension-installer), you're all set.

Otherwise, include in your `phpstan.neon`:

```
includes:
    - vendor/simpod/phpstan-brick-math/extension.neon
```

Contributing
------------

[](#contributing)

This is a read-only repository, automatically split from [simPod/phpstan-brick](https://github.com/simPod/phpstan-brick). Please submit pull requests and issues there.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance90

Actively maintained with recent releases

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.8% 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 ~6 days

Total

2

Last Release

51d ago

### Community

Maintainers

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

---

Top Contributors

[![simPod](https://avatars.githubusercontent.com/u/327717?v=4)](https://github.com/simPod "simPod (9 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/simpod-phpstan-brick-math/health.svg)

```
[![Health](https://phpackages.com/badges/simpod-phpstan-brick-math/health.svg)](https://phpackages.com/packages/simpod-phpstan-brick-math)
```

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k43.5M5.2k](/packages/larastan-larastan)[brick/money

Money and currency library

1.9k37.9M102](/packages/brick-money)[phpstan/phpstan-doctrine

Doctrine extensions for PHPStan

66466.6M1.0k](/packages/phpstan-phpstan-doctrine)[phpat/phpat

PHP Architecture Tester

1.2k3.5M32](/packages/phpat-phpat)[bavix/laravel-wallet

It's easy to work with a virtual wallet.

1.3k1.1M11](/packages/bavix-laravel-wallet)[tomasvotruba/bladestan

PHPStan rule for static analysis of Blade templates

363584.5k4](/packages/tomasvotruba-bladestan)

PHPackages © 2026

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