PHPackages                             diiyw/thinker - 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. diiyw/thinker

AbandonedArchivedLibrary[Framework](/categories/framework)

diiyw/thinker
=============

A Lightweight framework

0.5.3(7y ago)048MITPHPPHP &gt;=7.0.0

Since Nov 29Pushed 7y agoCompare

[ Source](https://github.com/diiyw/framework)[ Packagist](https://packagist.org/packages/diiyw/thinker)[ Docs](http://github.com/diiyw/thinker)[ RSS](/packages/diiyw-thinker/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (16)Used By (0)

Thinker 框架核心
============

[](#thinker-框架核心)

Thinker 框架核心，使用Composer引入到项目中即可使用

快速开发新模块
=======

[](#快速开发新模块)

```
cd app/moudules
vendor/bin/thinker create
```

根据提示输入，会自动创建基本的模块库和模型文件

数据库命名规范
=======

[](#数据库命名规范)

模块+"\_"+字段名，如`user_created`,`user_id`,也可以是`user_finance_id`

内置模板的使用
=======

[](#内置模板的使用)

```
{if 1==1}
    {:echo 1}
{elseif 2==2}
    {{2}}
{else}
    {fetch $as as $k=>$v}
        {import $v}
    {fetch}
{if}

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

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

Every ~10 days

Recently: every ~5 days

Total

15

Last Release

2572d ago

### Community

Maintainers

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

---

Top Contributors

[![diiyw](https://avatars.githubusercontent.com/u/10717965?v=4)](https://github.com/diiyw "diiyw (60 commits)")

---

Tags

frameworkthinker

### Embed Badge

![Health badge](/badges/diiyw-thinker/health.svg)

```
[![Health](https://phpackages.com/badges/diiyw-thinker/health.svg)](https://phpackages.com/packages/diiyw-thinker)
```

###  Alternatives

[hemp/presenter

Easy Model Presenters in Laravel

247592.6k1](/packages/hemp-presenter)[pestphp/pest-plugin-stressless

Stressless plugin for Pest

67792.6k16](/packages/pestphp-pest-plugin-stressless)[wpstarter/framework

The WpStarter Framework - Laravel Framework for WordPress

1810.1k4](/packages/wpstarter-framework)

PHPackages © 2026

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