定制 capell-app/exception-reports 二次开发

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

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

capell-app/exception-reports

Composer 安装命令:

composer require capell-app/exception-reports

包简介

Email unhandled exception reports from Capell with sanitized request, route, user, and stack-trace context.

README 文档

README

What This Extension Adds

Exception Reports is an Available, No schema impact Capell package in the Capell Operations product group. It ships as capell-app/exception-reports and extends these surfaces: console, shared.

Exception Reports emails operators when Capell reports an unhandled exception, including sanitized app, request, route, user, and stack-trace context that is safe to read in an email client.

After install, the package is operated through console commands or background maintenance hooks.

Status details:

  • Status: Available
  • Tier: free
  • Bundle: operations
  • Composer package: capell-app/exception-reports
  • Namespace: Capell\ExceptionReports
  • Theme key: not applicable

Why It Matters

For developers: The package gives developers package-owned service providers, Actions, and Blade views instead of pushing this behaviour into core or application code.

For teams: Email and optional webhook alerting for unhandled Capell exceptions, with request, route, user, and stack-trace context sanitized for safe operator triage.

Screens And Workflow

Screenshot contract: docs/screenshots.json.

  • Exception Reports extension card (marketplace, required).
  • Exception Reports rendered email preview (email, required).

Technical Shape

  • Service providers: Capell\ExceptionReports\Providers\ExceptionReportsServiceProvider.
  • Config files: packages/exception-reports/config/capell-exception-reports.php.
  • Actions: ReportExceptionByEmailAction.
  • Manifest contributions: health-check: Capell\ExceptionReports\Health\ExceptionReportsHealthCheck.
  • Health checks: Capell\ExceptionReports\Health\ExceptionReportsHealthCheck.
  • Blade views: packages/exception-reports/resources/views/mail/reported.blade.php.

Data Model

This package has no schema impact. It does not declare package-owned migrations or required tables.

Docs gap: document extension points here if the package delegates persistence to a host package.

Install Impact

  • Admin navigation: no admin surface declared.
  • Permissions: none declared in capell.json.
  • Public routes: none detected in package route files.
  • Database changes: no package migrations declared.
  • Settings: no package settings declared.
  • Queues or schedules: none detected in standard package paths.
  • Cache tags: none declared.
  • Commands: none declared.

Common Pitfalls

  • Run package commands from the host app; in this repository use vendor/bin/pest for package tests.
  • Keep composer.json, composer.local.json, capell.json, docs, screenshots, and tests aligned when the package surface changes.

Troubleshooting

Symptom Likely cause Check Fix
Package surface is missing after install Provider or manifest is not loaded Confirm capell.json, package composer.json, and provider registration Reinstall the package, refresh Composer autoload, and clear host caches

Quick Start

  1. Install the package: composer require capell-app/exception-reports.
  2. Run the required setup: no package migrations are declared; clear cached config and routes if the host app uses caches.
  3. Verify the package provider is registered and the related frontend, command, or extension point is active.

Next Steps

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2026-07-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固