grinet/cms-version
Composer 安装命令:
composer require grinet/cms-version
包简介
Magento 2 module for versioning CMS Pages and Blocks with admin metadata and restore functionality.
README 文档
README
A powerful Magento 2 module that automatically tracks changes to CMS Pages and Blocks. It captures the state of content before every save, including detailed administrator metadata, and provides a seamless restoration process.
Features
- Automatic Backups: Automatically creates a version of a CMS Page or Block before any modifications are saved.
- Detailed Metadata: Tracks who made the change, from which IP address, and at what time.
- Admin User ID
- Admin Username
- Admin IP Address
- Creation Timestamp
- Version History Grid: Integrated directly into the CMS Page and Block edit forms.
- One-Click Restore: Revert to any previous version with a single click.
- ACL Permissions: Granular control over who can view and restore versions.
- Store-Aware: Correctly handles store associations during backup and restoration.
Requirements
- Magento 2.4.x
- PHP 7.4 | 8.1 | 8.2 | 8.3
Installation
Via Composer (Recommended)
composer require grinet/module-cms-version php bin/magento setup:upgrade php bin/magento cache:flush
Manual Installation
- Download the module and extract it to
app/code/Grinet/CmsVersion. - Run the following commands:
php bin/magento module:enable Grinet_CmsVersion php bin/magento setup:upgrade php bin/magento cache:flush
Usage
- Navigate to Content > Elements > Pages or Blocks.
- Edit any existing item.
- After saving changes, scroll to the bottom of the page to find the Version History section.
- You will see a list of previous versions.
- Click Restore on any version to revert the content and settings to that specific point in time.
Permissions
You can manage access to this module under System > Permissions > User Roles:
Grinet_CmsVersion::view: Allows viewing the version history grid.Grinet_CmsVersion::restore: Allows restoring a previous version.
License
This project is licensed under the MIT License - see the LICENSE.txt file for details.
Support
For any issues or feature requests, please open an issue on the GitHub repository.
Developed by Grinet and Hidayet OK
grinet/cms-version 适用场景与选型建议
grinet/cms-version 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 01 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 grinet/cms-version 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 grinet/cms-version 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 26
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-11