n98/magerun2
Composer 安装命令:
composer require n98/magerun2
包简介
Tools for managing Magento projects and installations
关键字:
README 文档
README
n98-magerun2 provides powerful CLI tools for Magento 2, Mage-OS, and Adobe Commerce.
- Official Documentation: https://netz98.github.io/n98-magerun2/
- Development Branch:
develop - Supported Magento: Magento 2 only (Magento 1/OpenMage tool here)
Quick Start
Download the PHAR file
curl -sS -O https://files.magerun.net/n98-magerun2.phar
curl -sS -o n98-magerun2.phar.sha256 https://files.magerun.net/sha256.php?file=n98-magerun2.phar
shasum -a 256 -c n98-magerun2.phar.sha256
Install dist package
The dist package installs the n98-magerun2 PHAR file directly in your project.
composer require n98/magerun2-dist
Run the PHAR file
You can run the PHAR file directly from the command line:
./n98-magerun2.phar
Build from source
- Clone the repository:
git clone https://github.com/netz98/n98-magerun2.git cd n98-magerun2 - Install dependencies:
composer install
- Build the PHAR:
./build.sh
Full Documentation
For full installation, usage, development, and contribution guidelines, please visit the official documentation.
| Category/Namespace | Description | Example Commands |
|---|---|---|
| admin | Commands for managing Magento admin user accounts and related settings. | admin:user:list, admin:user:create, admin:user:change-password, admin:notifications |
| cache | Commands for interacting with and managing Magento's various cache systems. | cache:clean, cache:disable, cache:enable, cache:flush, cache:list |
| config | Commands for managing Magento store configurations and environment settings. | config:store:get, config:store:set, config:env:set, config:search |
| composer | Commands for managing Composer-related tasks and package deployment. | composer:redeploy-base-packages |
| customer | Commands for managing Magento customer accounts. | customer:create, customer:list, customer:info, customer:change-password |
| db | Commands for database operations such as dumps, imports, and queries. | db:dump, db:import, db:query, db:create, db:info |
| dev | Commands tailored for Magento developers, including code generation and debugging tools. | dev:module:create, dev:console, dev:translate:admin, dev:theme:list |
| eav | Commands for managing EAV (Entity-Attribute-Value) attributes. | eav:attribute:list, eav:attribute:view, eav:attribute:remove |
| giftcard | Commands for managing Magento gift cards. | giftcard:pool:generate, giftcard:create, giftcard:info, giftcard:remove |
| generation | Commands related to Magento's code generation processes. | generation:flush |
| index | Commands for managing Magento's indexers. | index:list, index:trigger:recreate |
| install | Command for installing Magento. | installer |
| integration | Command for integrations to Magento. | integration:list, integration:show, integration:delete |
| magerun | Commands for working with n98-magerun2 config and internal tools. | magerun:config:info, magerun:config:dump |
| routes | Commands for managing and viewing Magento routes. | routes:list |
| script | Command for running sequences of n98-magerun2 commands from a file. | script |
| sys | Commands for system-level information, checks, and maintenance tasks. | sys:info, sys:check, sys:maintenance, sys:cron:list, sys:store:list |
License
MIT License. See MIT-LICENSE.txt.
n98/magerun2 适用场景与选型建议
n98/magerun2 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 245.15k 次下载、GitHub Stars 达 927, 最近一次更新时间为 2015 年 01 月 01 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「cli」 「installer」 「magento」 「magerun2」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 n98/magerun2 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 n98/magerun2 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 n98/magerun2 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Installs Aura packages to the Aura system "package" directory.
Install WordPress must-use plugins with Composer
Arikam CMS installers
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
统计信息
- 总下载量: 245.15k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 931
- 点击次数: 18
- 依赖项目数: 6
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-01-01
