PHPackages                             rkr/phpstan-extensions - 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. rkr/phpstan-extensions

ActivePhpstan-extension[Testing &amp; Quality](/categories/testing)

rkr/phpstan-extensions
======================

PHPStan extensions

1.2.0(4mo ago)01622MITPHPPHP &gt;= 8.2

Since Feb 15Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/rkrx/php-phpstan-extensions)[ Packagist](https://packagist.org/packages/rkr/phpstan-extensions)[ Docs](https://github.com/rkrx/php-phpstan-extensions)[ RSS](/packages/rkr-phpstan-extensions/feed)WikiDiscussions main Synced today

READMEChangelog (5)Dependencies (3)Versions (6)Used By (2)

rkr/phpstan-extensions
======================

[](#rkrphpstan-extensions)

PHPStan type-node resolver extensions that add custom type functions for array merging and key removal.

**Status**

- PHP: 8.2+
- PHPStan: ^2.1
- Stability: dev

**Installation**

```
composer require --dev rkr/phpstan-extensions
```

**Quick Start**

1. Register the extension in your PHPStan config:

```
includes:
	- vendor/rkr/phpstan-extensions/extension.neon
```

2. Use the custom type functions in PHPDoc:

```
