PHPackages                             ifwrong/params-io - 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. ifwrong/params-io

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ifwrong/params-io
=================

以一个对象的能里服务你的控制器，让你的laravel控制器不再复杂！

1.0.2(4y ago)0263MITPHP

Since Aug 25Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ifwrong/params-io)[ Packagist](https://packagist.org/packages/ifwrong/params-io)[ RSS](/packages/ifwrong-params-io/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (4)Used By (0)

params-io
=========

[](#params-io)

简介
--

[](#简介)

laravel复杂控制器终结者。我们先说下使用控制器过程中的痛点

##### 1.请求中的参数可能并不完全是你实际使用的参数，各种条件性赋值，破坏原始变量

[](#1请求中的参数可能并不完全是你实际使用的参数各种条件性赋值破坏原始变量)

##### 2.打印函数输入、输出及中间调用日志

[](#2打印函数输入输出及中间调用日志)

##### 3.控制器逻辑冗长，完全面向过程，流程看不懂，只要是个人就看不懂(因为只有机器能懂，还有写这个逻辑的怪胎，它不算人)

[](#3控制器逻辑冗长完全面向过程流程看不懂只要是个人就看不懂因为只有机器能懂还有写这个逻辑的怪胎它不算人)

##### 4.版本快速迭代，多版本控制代码融合在一起

[](#4版本快速迭代多版本控制代码融合在一起)

##### 5.函数入参验证

[](#5函数入参验证)

##### 6.函数参数设置太多，有些是必填，有些是默认就OK，但是因为顺序设置不合理，导致默认的参数也要手动填写下，后续想扩展下也费劲

[](#6函数参数设置太多有些是必填有些是默认就ok但是因为顺序设置不合理导致默认的参数也要手动填写下后续想扩展下也费劲)

##### 7.控制器入参多，只能在使用的地方找定义，该函数到底需要几个参数，没人讲的清楚。就算有文档也可能更新不及时，程序和代码有出入

[](#7控制器入参多只能在使用的地方找定义该函数到底需要几个参数没人讲的清楚就算有文档也可能更新不及时程序和代码有出入)

具体请查看技术文档

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.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 ~2 days

Total

3

Last Release

1723d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/267d9e54d2c1a0fc40580eb0d40bbc9c78f81aecba15f536686d7bbd2501673a?d=identicon)[hellow7758521](/maintainers/hellow7758521)

---

Top Contributors

[![yocopop](https://avatars.githubusercontent.com/u/212358025?v=4)](https://github.com/yocopop "yocopop (7 commits)")[![ifwrong](https://avatars.githubusercontent.com/u/2485998?v=4)](https://github.com/ifwrong "ifwrong (2 commits)")

### Embed Badge

![Health badge](/badges/ifwrong-params-io/health.svg)

```
[![Health](https://phpackages.com/badges/ifwrong-params-io/health.svg)](https://phpackages.com/packages/ifwrong-params-io)
```

###  Alternatives

[ericmann/sessionz

PHP Session Manager Interface

585.0k2](/packages/ericmann-sessionz)

PHPackages © 2026

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