empiricompany/openmage_ignition
Composer 安装命令:
composer require empiricompany/openmage_ignition
包简介
OpenMage spatie-ignition integration for OpenMage
README 文档
README
Easily integrate Spatie Ignition error pages into your OpenMage installation!
Thanks to @fballiano for the brilliant idea started here:
OpenMage/magento-lts#3954
Requirements
This module requires the mage_run_installed_exception event, introduced in OpenMage 20.7.0, to properly catch unhandled exceptions.
Installation
Install via Composer
composer require empiricompany/openmage_ignition
Manual Core Patch (before v20.7.0)
If you prefer to manually patch OpenMage, add the following event dispatch inside app/Mage.php:
self::dispatchEvent('mage_run_installed_exception', ['exception' => $e]);
Alternatively, you can apply this patch directly via Composer:
"patches": { "openmage/magento-lts": { "Add mage_run_installed_exception event for unhandled exceptions (#3613)": "https://github.com/OpenMage/magento-lts/pull/3613.patch" } }
Configuration
Navigate to System > Configuration > Advanced > Developer > Ignition Settings:
Available settings:
-
Enabled — Enable or disable Ignition (default: enabled).
-
Default Editor — Set your preferred code editor (default: clipboard).
-
Default Theme — Choose between light, dark, or auto (default: auto).
-
Save Custom Settings in Session — Allow session-based overrides (default: disabled).
-
Enable AI-Generated Solutions — Generate error solutions with OpenAI.
Note: Requires installing the additional library:
composer require openai-php/client
⚠️ Warning: Caching is not yet implemented — every error will trigger an OpenAI API call.
-
OpenAI API Key — API key for OpenAI integration.
-
Enable Flare — Enable error tracking with Flare.
-
Flare API Key — API key for your Flare project.
-
Anonymize IP — Anonymize user IP addresses sent to Flare.
Note:
Saving settings in .ignition.json is currently not supported — all settings are stored in the OpenMage system configuration or session.
Screenshots
| Ignition Error Page | Flare Integration |
|---|---|
🚀 Enjoy a better error handling experience in OpenMage!
empiricompany/openmage_ignition 适用场景与选型建议
empiricompany/openmage_ignition 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 87.33k 次下载、GitHub Stars 达 6, 最近一次更新时间为 2024 年 04 月 24 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「magento」 「magento1」 「openmage」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 empiricompany/openmage_ignition 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 empiricompany/openmage_ignition 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 empiricompany/openmage_ignition 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Free and open source ecommerce platform, created in 2024 on the M1 platform, PHP 8.3+
A Magento 1 extension to attach PDF documents to emails.
Magento 2 Social Login extension is designed for quick login to your Magento 2 store without procesing complex register steps
Magento - Clean up session extension
A queue module for OpenMage and Maho, built on Symfony Messenger. Backend-agnostic (Redis Streams in v3.0).
The vianetz AsyncQueue Magento 1 Extension.
统计信息
- 总下载量: 87.33k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 25
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2024-04-24