minsar/module-admin-assistant
Composer 安装命令:
composer require minsar/module-admin-assistant
包简介
AI-powered explanations for Magento admin configuration - Minsar Admin Assistant
README 文档
README
Transform your Magento admin experience with AI-powered configuration help. Get instant, intelligent explanations for any configuration field with a simple click.
✨ Features
- 🎯 Smart Help Icons - [?] icons appear next to every configuration field
- 🤖 AI-Powered Explanations - Real-time explanations using Google Gemini or OpenAI
- 📱 Beautiful UI - Professional modal popups with smooth loading animations
- 🔒 Secure - Encrypted API key storage with proper validation
- 📊 Comprehensive Logging - Full request/response logging for debugging
- 🆓 Free Options - Google Gemini integration with generous free tier
- ⚡ Performance Optimized - Minimal overhead, efficient code structure
- 🎨 Admin-Friendly - Seamlessly integrates with Magento's admin interface
🚀 Installation
Via Composer (Recommended)
composer require minsarai/magento2-ai-admin-assistant php bin/magento module:enable Minsar_AdminAssistant php bin/magento setup:upgrade php bin/magento cache:flush
Manual Installation
- Download and extract to
app/code/Minsar/AdminAssistant/ - Run installation commands above
🔧 Configuration
- Navigate to Stores → Configuration → Minsar → Admin Assistant
- Enable the module
- Choose your AI provider:
- Google Gemini (Free - No credit card required)
- OpenAI GPT-3.5 (Free $5 credit for new accounts)
- Add your API key
- Save configuration
🔑 Getting API Keys
Google Gemini (Recommended - Free):
- Visit Google AI Studio
- Sign in with Google account
- Click "Get API key"
- Copy the key (starts with
AIza...)
OpenAI:
- Visit OpenAI Platform
- Create account and verify phone number
- Generate API key
- Copy the key (starts with
sk-...)
🎯 How It Works
- Click any [?] icon next to configuration fields
- Loading modal appears with smooth animation
- AI processes your request in real-time
- Explanation appears in a beautiful modal popup
- Learn about Magento configurations instantly!
🛠️ Technical Details
Requirements
- Magento 2.4.0 or higher
- PHP 8.1 or higher
- Valid AI provider API key
Architecture
- Clean MVC Structure - Follows Magento best practices
- Dependency Injection - Proper service layer implementation
- Interface-Based Design - Easy to extend with new AI providers
- Secure Configuration - Encrypted API key storage
- Comprehensive Logging - Full audit trail
File Structure
app/code/Minsar/AdminAssistant/
├── Api/ # Service contracts
├── Controller/ # Admin controllers
├── Model/ # Business logic
│ ├── Ai/ # AI client implementations
│ ├── Config/ # Configuration sources
│ └── Log/ # Logging services
├── etc/ # Module configuration
└── view/adminhtml/ # Admin templates
🔍 Troubleshooting
Common Issues
No help icons appearing:
- Clear cache:
php bin/magento cache:flush - Check if module is enabled
- Refresh browser (Ctrl+F5)
API errors:
- Verify API key is correct
- Check logs:
var/log/minsar_adminassistant.log - Ensure API provider has credits/quota
Network errors:
- Check server internet connectivity
- Verify firewall allows outbound HTTPS
Debug Mode
Enable detailed logging in module configuration for troubleshooting.
🔒 Privacy & Security
What We Send
- Configuration field names and labels
- Field descriptions and comments
- No customer data or PII
What We Don't Send
- Customer information
- Order data
- Payment details
- Store credentials
- Admin user data
Security Features
- API keys stored encrypted
- Request rate limiting
- Comprehensive audit logging
- No automatic store changes
🤝 Contributing
We welcome contributions! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
Development Setup
git clone https://github.com/minsarai/magento2-ai-admin-assistant.git cd magento2-ai-admin-assistant # Follow installation steps above
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🆘 Support
- 📧 Email: saifali.openai@gmail.com
- 🐛 Issues: GitHub Issues
- 📖 Documentation: Wiki
🌟 Changelog
v1.0.0 (2026-01-22)
- ✨ Initial release
- 🤖 Google Gemini integration
- 🔧 OpenAI GPT-3.5 support
- 📱 Modal UI with loading states
- 🔒 Secure API key management
- 📊 Comprehensive logging
Made with ❤️ by minsarai
Transform your Magento admin experience with the power of AI!
minsar/module-admin-assistant 适用场景与选型建议
minsar/module-admin-assistant 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 01 月 26 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「admin」 「configuration」 「help」 「assistant」 「ai」 「magento2」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 minsar/module-admin-assistant 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 minsar/module-admin-assistant 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 minsar/module-admin-assistant 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Frequently Asked Questions (FAQ) plugin. With categories, on-the-fly search, customer helpfulness tracking and comments.
Configuration component
2lenet/EasyAdminPlusBundle
A wrapper for silverstripe/docsviewer that pulls the documentation into the CMS adding a Site Help option to the help menu.
Analysis module for finding problematical shop data.
Define useful links to be added to the dashboard for clients.
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 11
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-26