承接 onedrop/shopware-sentry 相关项目开发

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

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

onedrop/shopware-sentry

Composer 安装命令:

composer require onedrop/shopware-sentry

包简介

Sentry integration for Shopware

README 文档

README

What is Sentry

Sentry is a modern error tracking platform. You can log and trace errors in Sentry and collect directly feedback from user.

Detail

Sentry can:

  • show error traces
  • notify on Slack, Jira, GitHub, GitLab, HipChat, etc.
  • use business rules (error must occure more than twice in 24h)
  • do reporting
  • track error occurrences with releases
  • be easily self-hosted with docker

What this plugin does

This plugin gives you the possibility to collect errors that occured in Shopware to a custom Sentry project.

  • collects PHP errors in frontend and backend (can be switched on/off)
  • collects JS errors in frontend (can be switched on/off)
  • collect user feedback in the frontend if a PHP error occured (can be switched on/off)

Configuration

User Feedback

If you enable it and a catchable error occurs, the user will be asked to provide additional feedback:

User Feedback

Installation

Requires PHP >= 7.1 !!

Load plugin

Composer (Shopware 5.5+)

  • Install via composer composer require onedrop/shopware-sentry

Git Version

  • Checkout plugin in git clone https://github.com/1drop/shopware-sentry.git custom/plugins/OdSentry
  • Install dependencies composer install

Shopware plugin store

Plugin can be ordered for free in your plugin manager or in Shopware plugin store

Install plugin

CLI

  • Install plugin php ./bin/console sw:plugin:install OdSentry
  • Get plugin config php ./bin/console sw:plugin:config:list OdSentry (based on custom/plugins/OdSentry/Resources/config.xml)
  • Set plugin config e.g. php ./bin/console sw:plugin:config:set OdSentry sentryLogPhp true
  • Activate plugin php ./bin/console sw:plugin:activate OdSentry
  • (optional) Clear cache php ./bin/console sw:cache:clear

Web

  • Install the plugin with the "Plugin Manager"
  • Configure the plugin

Skip Exceptions

Since 1.1.1 it is possible to skip exceptions for capture add following snippet to our config.php

'sentry' => [
    'skip_capture' => [
        Symfony\Component\Console\Exception\CommandNotFoundException::class,
        Enlight_Controller_Exception::class,
//        Shopware\Components\Api\Exception\NotFoundException:class,
        MyCustomException::class
    ]
]

Authors

  • Hans Höchtl <hhoechtl[at]1drop.de>
  • Soner Sayakci <s.sayakci[at]gmail.com>

onedrop/shopware-sentry 适用场景与选型建议

onedrop/shopware-sentry 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 55.8k 次下载、GitHub Stars 达 20, 最近一次更新时间为 2017 年 07 月 31 日, 在 PHP 生态内属于活跃度较高的组件。

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

围绕 onedrop/shopware-sentry 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

  • Stars: 20
  • Watchers: 5
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-07-31