承接 kg-bot/hookbox-ui-core 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

kg-bot/hookbox-ui-core

Composer 安装命令:

composer require kg-bot/hookbox-ui-core

包简介

Backend-only UI core for Hookbox inbox and replay surfaces.

README 文档

README

Hookbox UI Core is the shared backend-only package for Hookbox inbox and replay experiences. It is JSON-first by default through the responder contract and does not render framework-specific UI.

Support

Hookbox UI Core supports Laravel 12 and 13 on PHP 8.2+.

What It Provides

Laravel apps that want a Hookbox inbox still need the same backend concerns over and over: request parsing, authorization, pagination defaults, normalized page data, and safe replay orchestration. Hookbox UI Core packages those concerns into a headless backend layer so Blade, Livewire, Filament, Vue, or other adapters can share one stable UI-core surface instead of rebuilding it per stack.

The package currently provides:

  • route registration for inbox, message detail, and replay endpoints
  • inbox query parsing and pagination defaults
  • authorization checks for inbox access, replay, and redacted payload visibility
  • normalized inbox and message-detail view models
  • JSON responses by default via Hookbox\UiCore\Contracts\HookboxUiResponder
  • replay orchestration that defaults to dry-run behavior

Dependencies

hookbox-ui-core depends on kg-bot/hookbox for the stable read and replay contract. UI Core sits on top of that package and does not read Hookbox internal models, receipts, jobs, queued handlers, or other implementation details directly.

Supported integration surface:

  • Hookbox\Repositories\MessageRepository
  • Hookbox\Repositories\SourceRepository
  • Hookbox\ReplayService
  • Hookbox\ReplayOptions
  • Hookbox\Repositories\MessageFilters
  • Hookbox\Repositories\MetricsRange
  • Hookbox\Views\WebhookMessageView
  • Hookbox\Views\WebhookAttemptView
  • Hookbox\Views\SourceView
  • Hookbox\Views\MetricsSummary
  • Hookbox\Views\SourceCounters

Installation

This package depends on the published kg-bot/hookbox Composer package.

To install dependencies for local development in this repository, run:

composer install

For a release install in a consuming Laravel application, require UI Core. Composer will install its kg-bot/hookbox dependency automatically:

composer require kg-bot/hookbox-ui-core

If you need to override package defaults, publish the config with:

php artisan vendor:publish --tag=hookbox-ui-config

Additional installation details are documented in docs/installation.md.

Default Routes

When hookbox-ui.enabled is true, the package registers these routes under hookbox-ui.route_prefix, which defaults to hookbox:

  • GET /hookbox/messages
  • GET /hookbox/messages/{message}
  • POST /hookbox/messages/{message}/replay

Default config keys:

  • enabled
  • route_prefix
  • middleware
  • pagination.per_page
  • replay.allow_live

Authorization

The package expects these Laravel abilities to exist:

  • viewHookboxInbox
  • replayHookboxMessage
  • viewRedactedPayload

viewHookboxInbox gates the inbox and message detail endpoints. replayHookboxMessage gates replay requests. viewRedactedPayload is exposed in the JSON page payload so adapters can decide whether to show redacted content affordances.

Replay Safety Defaults

Replay stays dry-run by default.

  • Message details expose defaultsToDryRun: true
  • The replay endpoint only performs a live replay when the request explicitly sends live_replay=true
  • Live replay still requires hookbox-ui.replay.allow_live to be enabled

Out Of Scope

This repository is intentionally backend-only. It does not render Blade, Livewire, Inertia, Vue, Filament, or any other framework-specific interface.

Adapter packages are intentionally out of scope for this repository. Future UI packages should consume UI Core rather than reimplementing Hookbox inbox and replay business rules.

Additional Docs

kg-bot/hookbox-ui-core 适用场景与选型建议

kg-bot/hookbox-ui-core 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 05 月 12 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 kg-bot/hookbox-ui-core 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 kg-bot/hookbox-ui-core 我们能提供哪些服务?
定制开发 / 二次开发

基于 kg-bot/hookbox-ui-core 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-05-12