定制 webmatch/wbm-query-manager 二次开发

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

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

webmatch/wbm-query-manager

Composer 安装命令:

composer require webmatch/wbm-query-manager

包简介

Database-Management plugin for Shopware

README 文档

README

Scrutinizer Travis CI

This plugin integrates a new module within the Shopware backend that allows for a simple management of SQL queries and their manual or automated execution.

WbmQueryManager

The plugin offers the following features:

  • Write, edit, delete, duplicate and run queries
  • Shows fetched rows within backend immediately
  • Download fetched rows as CSV format
  • Execute queries in regular intervals as cron-jobs
  • Cron-Jobs: Logging of fetched rows in CSV format
  • Cron-Jobs: Send emails with attached log-files
  • SQL syntax highlighting (Codemirror)
  • Syntax and table structure autocompletion (Codemirror)

Requirements

  • Shopware >= 5.2.0

Optional:

  • MySQL Improved Extension (MySQLi)
    • enables the fetching of more than one rowsets per query by multiple statements (multi_query)

Installation

Clone this repository into a folder WbmQueryManager within the custom/plugins directory of the Shopware installation.

Install the plugin through the Plugin-Manager within the Shopware backend. Activate the plugin and when prompted allow for the clearing of the listed caches. Reload the backend to complete the installation.

Install with composer

  • Change to your root Installation of shopware
  • Run command composer require webmatch/wbm-query-manager and install and activate plugin with Plugin Manager

Usage

The module will be accessible in backend through a new menu point under the Settings menu tab.

The plugin comes with a few example queries which can be safely deleted.

Configuration

The plugin offers a few basic configuration options:

  • Send CSV Exports to an E-Mail Address
    • (see Cron-Jobs below)
  • CSV Field Separator
    • (see Cron-Jobs below)
  • Active SQL Autocompletion
    • if the autocompletion of syntax isn't desired it can be disabled

Cron-Jobs

To use the cron-job features of this plugin please first make sure the plugin Cron is installed in Plugin Manager and the Cron-Job Query Manager is activated in the cron job settings.

Shopware Cron-Jobs can be executed via request of the URL (e.g. http://your-shop.tld/backend/cron) or by console command php bin/console sw:cron:run (recommended)

Your server has to be setup accordingly to either request the cron URL or run the console command in regular intervals. This interval naturally also determines the minimum interval that Shopware cron-jobs can be executed at.

Fetched rows of SELECT statements executed through cron-jobs will be logged as CSV files in the directory var/logs of the Shopware installation. By specifying an email address in the plugin configuration logged files will also be transmitted by email.

License

MIT

This plugin is also commercially available through Shopware's community store. While the code itself is released under MIT license, the commercial distribution includes support through Webmatch GmbH and continous auto-updates. You may use this plugin without purchase but please be aware that you may receive notifications through Shopware about missing the according license. We have no influence on those notifications.

webmatch/wbm-query-manager 适用场景与选型建议

webmatch/wbm-query-manager 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 44 次下载、GitHub Stars 达 11, 最近一次更新时间为 2017 年 02 月 10 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「database」 「query」 「shopware」 「shopware-plugin」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

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

围绕 webmatch/wbm-query-manager 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

  • Stars: 11
  • Watchers: 11
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: GPL3
  • 更新时间: 2017-02-10