PHPackages                             kafkiansky/reduce-arguments - 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. kafkiansky/reduce-arguments

ActivePsalm-plugin[Utility &amp; Helpers](/categories/utility)

kafkiansky/reduce-arguments
===========================

Psalm plugin that makes sure that you don't use too many arguments in functions and methods.

v1.0.0(5y ago)05.0kMITPHPPHP ^7.3 || ^8.0

Since Mar 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/kafkiansky/reduce-arguments)[ Packagist](https://packagist.org/packages/kafkiansky/reduce-arguments)[ RSS](/packages/kafkiansky-reduce-arguments/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (3)Used By (0)

Psalm plugin that helps to detect the fat objects and functions/methods calls.
==============================================================================

[](#psalm-plugin-that-helps-to-detect-the-fat-objects-and-functionsmethods-calls)

[![test](https://github.com/kafkiansky/reduce-arguments/workflows/test/badge.svg?event=push)](https://github.com/kafkiansky/reduce-arguments/workflows/test/badge.svg?event=push)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Quality Score](https://camo.githubusercontent.com/52cc2fee40791cb7b87761dd606db6654c27b40b7d48b9b9870184869aef675e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6b61666b69616e736b792f7265647563652d617267756d656e74732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/kafkiansky/reduce-arguments)[![StyleCI](https://camo.githubusercontent.com/4c8b48361b72a64d35a8d5c846a30ec40fa95dc42432a325f9da05292290309a/68747470733a2f2f7374796c6563692e696f2f7265706f732f3334353330323831312f736869656c64)](https://styleci.io/repos/345302811)[![Total Downloads](https://camo.githubusercontent.com/2444da11e3ee037c3a21313510823de7344f74fa8fb463ab599ed3513beba46f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b61666b69616e736b792f7265647563652d617267756d656e74732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kafkiansky/reduce-arguments)[![Latest Stable Version](https://camo.githubusercontent.com/2acd7fa247bfde83fcfddd3abcc195d634cd214efe2ae045bc965910543248b9/68747470733a2f2f706f7365722e707567782e6f72672f6b61666b69616e736b792f7265647563652d617267756d656e74732f762f737461626c65)](https://packagist.org/packages/kafkiansky/reduce-arguments)

### Contents:

[](#contents)

- [Installation](#installation)
- [Configuration](#configuration)
- [Testing](#testing)
- [License](#license)

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

[](#installation)

Install this package with Composer:

```
composer require kafkiansky/reduce-arguments --dev

```

Configuration
-------------

[](#configuration)

If you want to use your own threshold, set the `argumentsCountThreshold` global variable in `psalm.xml` configuration:

```
...

...
```

By default, plugin use 5 as threshold.

Testing
-------

[](#testing)

```
$ composer test
```

License
-------

[](#license)

The MIT License (MIT). See [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

1899d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b0c87976a285325177559e27d154a9b5019466800c6a3342db916140c512ede?d=identicon)[kafkiansky](/maintainers/kafkiansky)

---

Top Contributors

[![kafkiansky](https://avatars.githubusercontent.com/u/37590388?v=4)](https://github.com/kafkiansky "kafkiansky (6 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kafkiansky-reduce-arguments/health.svg)

```
[![Health](https://phpackages.com/badges/kafkiansky-reduce-arguments/health.svg)](https://phpackages.com/packages/kafkiansky-reduce-arguments)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)[php-standard-library/psalm-plugin

Psalm plugin for the PHP Standard Library

252.0M47](/packages/php-standard-library-psalm-plugin)[codeigniter4/devkit

Development toolkit for CodeIgniter libraries and projects

68187.1k82](/packages/codeigniter4-devkit)[ramsey/devtools

A Composer plugin to aid PHP library and application development.

7134.7k26](/packages/ramsey-devtools)[orklah/psalm-strict-types

Adds strict\_types declaration when the file is provably safe

16104.0k](/packages/orklah-psalm-strict-types)

PHPackages © 2026

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