experius/module-sansecreport
Composer 安装命令:
composer require experius/module-sansecreport
包简介
Provides an adminpanel interface for Sansec eComscan Reports
README 文档
README
``experius/module-sansecreport``
Main Functionalities
Provides an adminpanel interface for Sansec eComscan Reports.
Installation
* = in production please use the --keep-generated option
Type 1: Zip file
- Unzip the zip file in
app/code/Experius - Enable the module by running
php bin/magento module:enable Experius_SansecReport - Apply database updates by running
php bin/magento setup:upgrade* - Flush the cache by running
php bin/magento cache:flush
Type 2: Composer
- Make the module available in a composer repository for example:
- private repository
repo.magento.com - public repository
packagist.org - public github repository as vcs
- private repository
- Add the composer repository to the configuration by running
composer config repositories.repo.magento.com composer https://repo.magento.com/ - Install the module composer by running
composer require experius/module-sansecreport - enable the module by running
php bin/magento module:enable Experius_SansecReport - apply database updates by running
php bin/magento setup:upgrade* - Flush the cache by running
php bin/magento cache:flush
Configuration
In order to configure eComscan to publish reports to your Magento installation, two steps are required:
- Create a new Integration Bearer token via Magento:
- System->Extension->Integrations
- Add New Integration
- Fill in the name as
sansecand fill in your current Administrator password in the lowest field on the page - Under the
APItab, chooseResource AccessCustom. Check the fieldSansecReports - Save And Activate
- Copy the
Access Token
- Change your Sansec Cron to add the POST call (change EXAMPLEBEARERTOKEN to your copied
Access Tokenand change the domain to your Magento store)- Add
--format=json | ifne curl -k -H 'Content-Type: application/json' -H 'Authorization: Bearer <bearerToken>' -d@- -X POST <magentowebshopdomain>/rest/V1/experius-sansecreport/sansecreports - Example full Cron:
~/bin/ecomscan -k <key> --report <your_email> --new-only --format=json --slack <webhookurl> <store_path> | ifne curl -k -H 'Content-Type: application/json' -H 'Authorization: Bearer <bearerToken>' -d@- -X POST <magentowebshopdomain>/rest/V1/experius-sansecreport/sansecreports
- Add
experius/module-sansecreport 适用场景与选型建议
experius/module-sansecreport 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.57k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2021 年 12 月 22 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 experius/module-sansecreport 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 experius/module-sansecreport 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 1.57k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2021-12-22
