martinpetricko/filament-sentry-feedback
Composer 安装命令:
composer require martinpetricko/filament-sentry-feedback
包简介
FilamentPHP package that integrates Sentry User Feedback
README 文档
README
Filament Sentry Feedback integrates the Sentry User Feedback widget with FilamentPHP.
Installation
You can install the package via composer:
composer require martinpetricko/filament-sentry-feedback
If you'd like to customize the translations used by the package, you can publish the language files:
php artisan vendor:publish --tag="filament-sentry-feedback-translations"
Optionally, publish the config file:
php artisan vendor:publish --tag="filament-sentry-feedback-config"
These are the contents of the published config file:
return [ /** * https://docs.sentry.io/concepts/key-terms/dsn-explainer/#where-to-find-your-data-source-name-dsn */ 'dsn' => env('SENTRY_LARAVEL_DSN', env('SENTRY_DSN')), /** * https://docs.sentry.io/platforms/javascript/user-feedback/configuration/ */ 'widget' => [ 'element_id' => 'sentry-feedback', 'color_scheme' => ColorScheme::Auto, 'show_branding' => false, 'show_name' => true, 'is_name_required' => false, 'show_email' => true, 'is_email_required' => true, 'enable_screenshot' => true, ], ];
Set your Sentry DSN in the .env file:
SENTRY_LARAVEL_DSN=https://examplePublicKey@o0.ingest.sentry.io/0
Register the plugin in your Filament panel:
->plugins([ \MartinPetricko\FilamentSentryFeedback\FilamentSentryFeedbackPlugin::make(), ])
You can preload authenticated user data for Sentry Feedback widget by defining SentryUser entity:
->plugins([ \MartinPetricko\FilamentSentryFeedback\FilamentSentryFeedbackPlugin::make() ->sentryUser(function (): ?SentryUser { return new SentryUser(auth()->user()->name, auth()->user()->email); }), ])
You can override the global config per panel:
->plugins([ \MartinPetricko\FilamentSentryFeedback\FilamentSentryFeedbackPlugin::make() ->dsn('https://examplePublicKey@o0.ingest.sentry.io/0') ->elementId('sentry-feedback') ->colorScheme(ColorScheme::Auto) ->showBranding(true) ->showName(true) ->isNameRequired(true) ->showEmail(true) ->isEmailRequired(true) ->enableScreenshot(true), ])
CSS Customization
To customize the appearance of the feedback widget:
- Create a custom theme for your panel.
- Override the Sentry Feedback widget's CSS variables
Testing
composer test
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
martinpetricko/filament-sentry-feedback 适用场景与选型建议
martinpetricko/filament-sentry-feedback 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 12.62k 次下载、GitHub Stars 达 9, 最近一次更新时间为 2025 年 04 月 10 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「sentry」 「feedback」 「filament」 「MartinPetricko」 「filament-sentry-feedback」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 martinpetricko/filament-sentry-feedback 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 martinpetricko/filament-sentry-feedback 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 martinpetricko/filament-sentry-feedback 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Fork of a PHP client for Sentry (http://getsentry.com) that work also with php5.2
An implementation of the Sentry User Manager for Laravel.
Simple Yii2 Sentry target for logging (http://getsentry.com)
Symfony2 Bundle for Bootstrap MaxLength.js - An visual feedback indicator for the MaxLength attribute
TYPO3 Feedback Extension - The TYPO3 Feedback Extension is a great tool for gathering feedback from visitors or customers on your website. With the All In One TYPO3 Feedback extension, website admin can easily add feedback forms in various styles to their website, allowing them to collect valuable i
Monitoring for scheduled jobs
统计信息
- 总下载量: 12.62k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 16
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-04-10