adheesha23/module-live-chat
Composer 安装命令:
composer require adheesha23/module-live-chat
包简介
N/A
README 文档
README
The Aligent Chat Module introduces store configuration settings for managing LiveChat configurations. This module also provides admin capabilities for updating default configurations of these data, log updated data with the admin user name and the time stamp required for tracking.
Features
-
Store Configuration Fields:
The module adds the following store configuration fields.
- livechat_license_number
- livechat_groups
- livechat_params
These fields can be managed both through the store configurations and admin form interface.
-
Admin Form:
The module provides an admin page with a form to input the default scope values for above LiveChat settings.
Once the form is submitted:
- The relevant store configuration fields are updated.
- A log file will be saved at project root/var/log/live_chat.log with the values for livechat settings, time stamp and the admin user name who updated data.
Installation
- To install the Aligent Chat Module, follow below steps:
- Install the module via composer
composer require adheesha23/module-live-chat - Or, clone from the repository. Run below command from project root directory.
git clone git@github.com:adheesha23/module-live-chat.git app/code/Aligent/Chat
- Enable the module:
bin/magento module:enable Aligent_Chat - Then run below commands:
bin/magento setup:upgrade bin/magento setup:di:compile bin/magento cache:clean bin/magento cache:flush
Module Usage
Magento Admin
- Once the module is installed go to Magento admin dashboard.
- Go to Stores menu tab and there 'Live Chat Configuration' section will appear. Under that,
- Manage Default Chat Configurations - This will go to admin form that manage default chat configurations.
- Chat Configuration - This will go to ALIGENT > Chat Configuration tab in store configurations page.
Logging
- To check the updated settings log, go to project root/var/log folder and check live_chat.log file.
cat live_chat.log
Test Cases
Unit Test
- Run one of the below command from project root directory based on how the module was installed.
- If installed via composer
$(pwd)/vendor/bin/phpunit --bootstrap $(pwd)/dev/tests/unit/framework/bootstrap.php --configuration $(pwd)/dev/tests/unit/phpunit.xml.dist $(pwd)/vendor/adheesha23/module-live-chat/Test/Unit/ - Or if installed by cloning the repository
$(pwd)/vendor/bin/phpunit --bootstrap $(pwd)/dev/tests/unit/framework/bootstrap.php --configuration $(pwd)/dev/tests/unit/phpunit.xml.dist $(pwd)/app/code/Aligent/Chat/Test/Unit/
- If installed via composer
adheesha23/module-live-chat 适用场景与选型建议
adheesha23/module-live-chat 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6 次下载、GitHub Stars 达 0, 最近一次更新时间为 2024 年 10 月 21 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 adheesha23/module-live-chat 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 adheesha23/module-live-chat 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-10-21