定制 max-stan/magento2-live-chat 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

max-stan/magento2-live-chat

最新稳定版本:0.1.0-alpha1

Composer 安装命令:

composer require max-stan/magento2-live-chat

包简介

README 文档

README

Real-time customer support chat module for Magento 2, powered by Symfony Mercure SSE messaging. Built for Hyva Themes with Alpine.js and Tailwind CSS.

Packagist Packagist Packagist Tests

MaxStan_LiveChat adds a full-featured live chat widget to the Magento storefront and a conversation management interface to the admin panel. Customers can open conversations, send messages, and receive real-time replies from store administrators — all without page reloads, using server-sent events via Mercure.

Warning

This package is currently in alpha (0.1.0-alpha1). The API is unstable and may introduce breaking changes between releases. Do not use in production.

⭐ Features

  • Real-time messaging between customers and admins via Mercure SSE
  • Storefront chat widget with Alpine.js (Hyva-compatible)
  • Admin conversation view with chat widget
  • Per-conversation Mercure topic authorization (private channels)
  • Conversation limit enforcement (max 10 per customer)
  • Paginated message history (50 messages per page)
  • Integration test suite with fixtures, mocks, and spies

🛠️ Installation

To install Mercure in your Magento 2 project, follow these steps:

# Set minimum stability to allow alpha version
composer config minimum-stability "alpha"
# Standard module installation
composer require max-stan/magento2-live-chat
bin/magento module:enable MaxStan_LiveChat
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush

Configure Mercure Hub according as described in the Magento 2 Mercure installation section

🚀 Contributing

Contributions are welcome! If you find a bug or have a feature request, feel free to open an issue or submit a pull request.

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-03-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固