PHPackages                             jleo/popo-thinkphp - 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. jleo/popo-thinkphp

ActiveLibrary[Framework](/categories/framework)

jleo/popo-thinkphp
==================

00PHP

Since May 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/afubao/popo-thinkphp)[ Packagist](https://packagist.org/packages/jleo/popo-thinkphp)[ RSS](/packages/jleo-popo-thinkphp/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

参考java的pojo而来，将入参绑定到对象中，面向对象编程

支持thinkphp框架，其他非常驻内存框架应该都支持，需要自己调试

webman也可以使用，部分依赖tp严重的地方可以clone一份代码修改即可

hyperf框架

```
# region 参数对象定义
class TestParam extends PoPo {
    private int $id = 0; // 这是有默认值，前端可以不传

    private string $name; // 这是必传参数

    private string $userName; // 这是必传参数,下划线会自动转为驼峰，对应参数为user_name

    #[ObjArray(Obj::class)]
    private string $thisObjArr; // 这是一个对象数组，对应参数格式为 this_obj_arr{[{"title":"这是标题"},{"title":"这是标题"}]}

    private Obj $thisObj;// 这是一个对象，对应参数格式为 this_obj_arr{"title":"这是标题"}
}

class Obj extends PoPo {
    private string $title; // 这是必传参数
}

# endregion 参数对象定义

# controller中的使用
public function add(TestParam $param): Response
{
    var_dump($param->name);
    var_dump($param->userName);
    var_dump($param->thisObjArr);
    var_dump($param->thisObj);
    var_dump($param->toArray());
}
```

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f5eead3ccb75a28c4ed389d58c67eb60c774098211f6d959be03692b33010946?d=identicon)[靳陆陆](/maintainers/%E9%9D%B3%E9%99%86%E9%99%86)

### Embed Badge

![Health badge](/badges/jleo-popo-thinkphp/health.svg)

```
[![Health](https://phpackages.com/badges/jleo-popo-thinkphp/health.svg)](https://phpackages.com/packages/jleo-popo-thinkphp)
```

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M300](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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