定制 escolalms/yepp-chat 二次开发

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

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

escolalms/yepp-chat

最新稳定版本:0.0.3

Composer 安装命令:

composer require escolalms/yepp-chat

包简介

Escola Headless LMS Yepp Chat

README 文档

README

swagger codecov phpunit downloads downloads downloads

What does it do

This package is used to communicate with the microservice responsible for chat on the Yepp platform.

Chat can be assigned to a lesson, after filling in the assistant_id parameter in the lesson. If the lesson does not have a defined parameter, the chat will not be displayed.

Installing

  • composer require escolalms/yepp-chat
  • php artisan migrate
  • php artisan db:seed --class="EscolaLms\YeppChat\Database\Seeders\YeppChatPermissionSeeder"

Configuration

In the configuration, you can:

  • enabled - Yepp chat integration is enabled/disabled
  • auth.enabled - Authorization in communication with microservice is enabled/disabled
  • auth.key - If auth.enabled takes the value true, an access key is required
  • url - Microservice URL

You can specify the parameter from the config.php file or system administration settings.

[
    'enabled' => env('YEPP_CHAT_ENABLED'),
    'auth' => [
        'enabled' => env('YEPP_CHAT_AUTH_ENABLED'),
        'key' => env('YEPP_CHAT_AUTH_KEY'),
    ],
    'url' => env('YEPP_CHAT_URL', 'http://yepp-chat-ms-backend-service:3000'),
];

Endpoints

All the endpoints are defined in swagger swagger

Test details codecov Tests PHPUnit in environments

Events

This package does not dispatch any events.

Permissions

Permissions are defined in seeder

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-11