PHPackages                             jncinet/qihucms-site-help - 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. jncinet/qihucms-site-help

ActiveLibrary

jncinet/qihucms-site-help
=========================

qihucms site help.

1.0.3(5y ago)14MITPHP

Since Dec 29Pushed 5y ago1 watchersCompare

[ Source](https://github.com/jncinet/qihucms-site-help)[ Packagist](https://packagist.org/packages/jncinet/qihucms-site-help)[ Docs](https://www.qihucms.com)[ RSS](/packages/jncinet-qihucms-site-help/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

安装
--

[](#安装)

```
$ composer require jncinet/qihucms-site-help
```

使用
--

[](#使用)

### 数据迁移

[](#数据迁移)

```
$ php artisan migrate
```

### 发布资源

[](#发布资源)

```
$ php artisan vendor:publish --provider="Qihucms\SiteHelp\SiteHelpServiceProvider"
```

### 后台菜单

[](#后台菜单)

- 帮助分类：site-help/help-categories
- 帮助内容：site-help/helps
- 帮助回复：site-help/help-replies

接口
--

[](#接口)

### 选择帮助文档

[](#选择帮助文档)

- 请求方式：GET
- 请求地址：site-help/select-helps?q=文档关键词
- 返回值：

```
[
    {
        "id": 1,
        "text" "文档标题"
    },
    ...
]

```

### 帮助文档分类列表

[](#帮助文档分类列表)

- 请求方式：GET
- 请求地址：site-help/help-categories
- 返回值：

```
[
    {
        'id': 1,
        'name': "分类名",
        'ico': "http://图片地址",
        'desc': "分类简介",
    },
    ...
]

```

### 帮助文档详细

[](#帮助文档详细)

- 请求方式：GET
- 请求地址：site-help/help-categories/{id={帮助分类ID}
- 返回值：

```
{
    'id': 1,
    'name': "分类名",
    'ico': "http://图片地址",
    'desc': "分类简介",
}

```

### 帮助文档分页列表

[](#帮助文档分页列表)

- 请求方式：GET
- 请求地址：site-help/helps?id={帮助分类ID，默认为0读取所的文档}&amp;limit={分页条数,可选}&amp;page={页码,可选}
- 返回值：

```
{
    "data": [
        {
            'id': 1,
            'category': {
                'id': 1,
                'name': "分类名",
                'ico': "http://图片地址",
                'desc': "分类简介",
            },
            'title': "标题",
            'desc': "简介",
            'thumbnail': "缩略图",
            'useful': 142, // 有用数
            'created_at': "3秒前",
            'updated_at': "1秒前",
        },
        ...
    ],
    "meta": {},
    "links": {}
}

```

### 帮助文档详细

[](#帮助文档详细-1)

- 请求方式：GET
- 请求地址：site-help/helps/{id={帮助文档ID}
- 返回值：

```
{
    'id': 1,
    'category': {
        'id': 1,
        'name': "分类名",
        'ico': "http://图片地址",
        'desc': "分类简介",
    },
    'replies': [
        {
            'id': 1,
            'user': {"id": 1, "username": "name", ...},
            'content': "评论回复",
            'reply': "回复内容",
            'created_at': "1小时前",
            'updated_at': "1分钟前",
        },
        ...
    ]
    'title': "标题",
    'desc': "概述",
    'thumbnail': "缩略图地址"
    'content': "帮助文档内容"
    'useful': 112, // 有用数
    'created_at' "1小时前",
    'updated_at': "1分钟前",
}

```

#### 会员回复列表

[](#会员回复列表)

```
请求：GET
地址：/site-help/help-replies?page={$page}&limit={$limit}
参数：
int          $page    （选填）页码
int          $limit   （选填）每页显示的条数
返回值：
{
    "data": [
        {
            'id' => 1,
            'help' => {帮助文档详细},
            'content' => "评论回复",
            'reply' => "回复内容",
            'created_at' => "3天前"
            'updated_at' => "3天前",
        },
        ...
    ],
    "meta": {...},
    "links": {...}
}

```

#### 添加回复

[](#添加回复)

```
请求：POST
地址：/site-help/help-replies
参数：
{
    "site_help_id"：1 // 文档ID
    "content"：'评论内容'
}
返回值：
{
    'id' => 1,
    'user' => {会员资料},
    'content' => "评论回复",
    'reply' => "回复内容",
    'created_at' => "3天前"
    'updated_at' => "3天前",
}
```

#### 更新回复

[](#更新回复)

```
请求：PATCH|PUT
地址：/site-help/help-replies/{id}
参数：
{
    "site_help_id"：1 // 内容ID
    "content"：'评论内容'
}
返回值：
{
    status: 'SUCCESS',
    result: {
        id: 1
    }
}
```

#### 删除回复

[](#删除回复)

```
请求：DELETE
地址：/site-help/help-replies/{id}
返回值：
{
    status: 'SUCCESS',
    result: {
        id: 1
    }
}
```

数据库
---

[](#数据库)

### 帮助分类表：site\_help\_categories

[](#帮助分类表site_help_categories)

FieldTypeLengthAllowNullDefaultCommentidbigintnamevarchar55分类名称descvarchar255YNULL分类介绍icovarchar255YNULL小图标sortint0分类排序statustinyint1分类状态created\_attimestampYNULL创建时间updated\_attimestampYNULL更新时间### 帮助内容表：site\_helps

[](#帮助内容表site_helps)

FieldTypeLengthAllowNullDefaultCommentidbigintsite\_help\_category\_idbigint所属分类titlevarchar255标题descvarchar255YNULL概要thumbnailvarchar255YNULL缩略图contentlongtext内容usefulint0有用statustinyint1状态created\_attimestampYNULL创建时间updated\_attimestampYNULL更新时间### 帮助回复表：site\_help\_replies

[](#帮助回复表site_help_replies)

FieldTypeLengthAllowNullDefaultCommentidbigintsite\_help\_idbigint所属内容user\_idbigint发布人contenttext评论内容replytext回复内容statustinyint1状态created\_attimestampYNULL创建时间updated\_attimestampYNULL更新时间

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

1958d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/63541651e21494722aa0d364dca6dbaa132d0ee4e9f85a741b5eff8c587f57ba?d=identicon)[jncinet](/maintainers/jncinet)

---

Tags

sitehelpqihucms

### Embed Badge

![Health badge](/badges/jncinet-qihucms-site-help/health.svg)

```
[![Health](https://phpackages.com/badges/jncinet-qihucms-site-help/health.svg)](https://phpackages.com/packages/jncinet-qihucms-site-help)
```

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.2k438.5k29](/packages/tightenco-jigsaw)[sculpin/sculpin

Static Site Generator

1.5k102.8k12](/packages/sculpin-sculpin)[tightenco/jigsaw-blog-template

Blog starter template for Jigsaw static site generator by Tighten

9464.0k](/packages/tightenco-jigsaw-blog-template)[tightenco/jigsaw-docs-template

Documentation starter template for Jigsaw static site generator by Tighten

5026.9k](/packages/tightenco-jigsaw-docs-template)[mdwheele/zalgo

His six mouths speak in different tongues, and the seventh shall sing the song that ends the earth.

4619.7k9](/packages/mdwheele-zalgo)

PHPackages © 2026

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