定制 iquesters/help-support 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

iquesters/help-support

最新稳定版本:v1.0.3

Composer 安装命令:

composer require iquesters/help-support

包简介

Help support package

README 文档

README

The help-support package provides an in-app documentation browser for installed Iquesters modules.

Package Wiring

  • Service provider: Iquesters\HelpSupport\HelpSupportServiceProvider
  • view namespace: help-support::
  • Blade pages use @extends(app('app.layout'))
  • package configuration is managed through HelpSupportConf

Routes

  • GET /help-support/{viewName}
  • GET /help-support/docs/files/{module}
  • GET /help-support/docs/file?url=...

These routes are handled by Iquesters\HelpSupport\Http\Controllers\UiController.

What It Does

  • shows the current user only the modules they can access
  • loads documentation file lists from GitHub repositories
  • supports nested markdown files under the configured docs root
  • enforces role-based documentation visibility
  • caches both docs file lists and raw markdown content

Current Views

  • help-support::helps.index
  • help-support::helps.module
  • help-support::helps.docs

Documentation Source

By default, docs are read from:

  • repository owner: iquesters
  • docs root path: docs/
  • default branch fallback: main

These values are configurable in HelpSupportConf.

Visibility Rules

  • full-access roles are configured through HelpSupportConf::docs_full_access_roles
  • default visible docs paths are configured through HelpSupportConf::docs_default_visible_paths

Typical default behavior:

  • super-admin and iq-developer can view all docs under docs/**
  • other users can view only docs/users/**

Recommended Docs Folder Structure

Inside each module repository, organize documentation by audience first:

docs/
  users/
    getting-started.md
    faq.md
    profile/
      account-settings.md

  admin/
    dashboard/
      overview.md
    module-management.md
    role-assignment.md

  developer/
    architecture.md
    api/
      authentication.md
      webhooks.md
    deployment/
      environment.md

  shared/
    glossary.md
    release-notes.md

Recommended usage:

  • keep end-user documentation inside docs/users/
  • keep privileged operational docs inside docs/admin/
  • keep technical implementation and integration docs inside docs/developer/
  • keep cross-audience references, release notes, and shared terminology inside docs/shared/

This structure works well when a module has multiple documentation types, because users can immediately understand where to add new files:

  • user-facing guides: docs/users/
  • admin and support procedures: docs/admin/
  • developer and API references: docs/developer/
  • common references: docs/shared/

Notes

  • nested markdown files are supported
  • raw GitHub file access is revalidated in the controller before content is returned
  • see docs/docs-access-flow.md for the full request and caching flow

统计信息

  • 总下载量: 14
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 3
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-03-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固