PHPackages                             newday-me/think-cms - 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. newday-me/think-cms

ActiveProject

newday-me/think-cms
===================

CMS应用

2.0.0(7y ago)9110030[1 issues](https://github.com/newday-me/think-cms/issues)Apache-2.0JavaScriptPHP &gt;=5.6.0

Since Apr 9Pushed 7y ago6 watchersCompare

[ Source](https://github.com/newday-me/think-cms)[ Packagist](https://packagist.org/packages/newday-me/think-cms)[ Docs](http://cms.newday.me/)[ RSS](/packages/newday-me-think-cms/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (6)Versions (7)Used By (0)

NewDayCms - 哩呵后台管理系统
====================

[](#newdaycms---哩呵后台管理系统)

[![](https://camo.githubusercontent.com/6d926488cf967969a130979637a6fe5688d708064a2ffe6b220a063b61ea171a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6e65776461792d6d652f7468696e6b2d636d732e737667)](https://camo.githubusercontent.com/6d926488cf967969a130979637a6fe5688d708064a2ffe6b220a063b61ea171a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6e65776461792d6d652f7468696e6b2d636d732e737667) [![](https://camo.githubusercontent.com/3b90a64eb585f2d1b3b46af9bdc7084051241f00e54c12fa074ca870cc87547a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6e65776461792d6d652f7468696e6b2d636d732e737667)](https://camo.githubusercontent.com/3b90a64eb585f2d1b3b46af9bdc7084051241f00e54c12fa074ca870cc87547a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6e65776461792d6d652f7468696e6b2d636d732e737667) [![](https://camo.githubusercontent.com/9d179e76d27fe42dd2a24fd0ee3e9305684b621b16fc99ef84324198d61e89ce/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f6e65776461792d6d652f7468696e6b2d636d732e737667)](https://camo.githubusercontent.com/9d179e76d27fe42dd2a24fd0ee3e9305684b621b16fc99ef84324198d61e89ce/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f6e65776461792d6d652f7468696e6b2d636d732e737667)

**演示地址：[http://cms.newday.me](http://cms.newday.me "http://cms.newday.me")。**

一、CMS定位
-------

[](#一cms定位)

通用后台管理的脚手架

二、CMS安装
-------

[](#二cms安装)

- **使用[Composer](http://www.phpcomposer.com/ "Composer")安装**

运行【composer create-project newday-me/think-cms C:/www/cms 2.0.0】

- **下载完整代码包**

从【[http://cms.newday.me/download.html](http://cms.newday.me/download.html "http://cms.newday.me/download.html")】下载压缩包，然后直接解压。

- **安装数据库**

配置好【.env】文件，运行【php think migrate:run】

三、CMS分层
-------

[](#三cms分层)

CMS的数据流方向如下图：

[![](https://raw.githubusercontent.com/newday-me/think-cms/master/public/assets/image/flow.png)](https://raw.githubusercontent.com/newday-me/think-cms/master/public/assets/image/flow.png)

- **modal**

模型层：一个model对应一张表，负责数据库的操作。**数据库操作。**

- **data**

数据层：一个modal对应一个data，实现特定的数据操作。调用model进行数据库操作，调用其他data进行数据库操作，数据的加密等处理。**数据操作，不涉及业务。**

- **logic**

逻辑层：远程数据的管理（如：远程接口调用封装），业务（如：上传，菜单树构建），调用其他逻辑层进行业务操作。**处理业务和精简服务层。**

- **service**

服务层：调用数据层操作数据，调用逻辑层处理业务。**尽量精简，调用为主。**

- **controller**

应用层：接收和输出数据。**输入和输出。**

四、CMS表单
-------

[](#四cms表单)

只需要简单地配置，就可以快速生成表单项。 已支持生成的表单项有：文本、文本域、标签、时间、颜色、图片、文件、单选、多选、下拉框、编辑器、JSON。

- **文本**

```
{$widget->form('text', ['title' => '用户昵称', 'name' => 'user_nick', 'value' => ''])}
```

- **标签**

```
{$widget->form('tag', ['title' => '文章标签', 'name' => 'article_tags', 'value' => ''])}
```

- **图片**

```
{$widget->form('image', ['title' => '文章封面', 'name' => 'article_cover', 'value' => ''])}
```

- **下拉选择**

```
{$widget->form('select', ['title' => '文章分类', 'name' => 'article_cate', 'list' => $cate_list])}
```

- **编辑器**

```
{$widget->form('summer_note', ['title' => '文章内容', 'name' => 'article_content', 'value' => ''])}
```

五、建议反馈
------

[](#五建议反馈)

有问题或者建议，欢迎邮件至【[newday\_me@163.com](mailto:newday_me@163.com)】。

因空余时间不多，回复慢还请见谅。

###  Health Score

34

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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 ~124 days

Recently: every ~155 days

Total

6

Last Release

2645d ago

Major Versions

0.0.4 → 1.0.02018-01-26

1.0.0 → 2.0.02018-12-24

### Community

Maintainers

![](https://www.gravatar.com/avatar/88ec0e859a51df8ee87eab8e8c7dcbc9eff49d7ecdb33c4686efceca320bf075?d=identicon)[newday-me](/maintainers/newday-me)

---

Top Contributors

[![newday-me](https://avatars.githubusercontent.com/u/20725040?v=4)](https://github.com/newday-me "newday-me (27 commits)")

### Embed Badge

![Health badge](/badges/newday-me-think-cms/health.svg)

```
[![Health](https://phpackages.com/badges/newday-me-think-cms/health.svg)](https://phpackages.com/packages/newday-me-think-cms)
```

###  Alternatives

[jaguarjack/catchadmin

The CatchAdmin Background management

8952.6k](/packages/jaguarjack-catchadmin)[casbin/think-authz

An authorization library that supports access control models like ACL, RBAC, ABAC for ThinkPHP.

27517.9k6](/packages/casbin-think-authz)[zoujingli/think-library

Library for ThinkAdmin

8368.7k11](/packages/zoujingli-think-library)

PHPackages © 2026

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