定制 teltek/pumukit-lms-bundle 二次开发

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

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

teltek/pumukit-lms-bundle

Composer 安装命令:

composer require teltek/pumukit-lms-bundle

包简介

Pumukit Lms Bundle.

README 文档

README

Bundle based on Symfony to work with the PuMuKIT Video Platform.

The goal of this bundle is to merge the common APIs between the Moodle bundle and the OpenEDX bundle into single generic bundle.

This code includes:

  • An Atto Editor integration for Moodle (/Resources/data/pumoodle/editor/atto/plugins)
  • A common API and endpoints that are shared for OpenEDX and Moodle

For the OpenEDX integration, an XBlock is also needed:

The new Atto Editor integration for Moodle is meant to replace the classical integration through a mix of repository/filter/block plugins here At the moment, there are a couple of missing features:

  • Moodle Playlists support
  • Search and publish public videos (published on the WebTV channel)

Installation steps

Requirements

Steps 1 and 2 requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Step 1: Introduce repository in the root project composer.json

Open a command console, enter your project directory and execute the following command to add this repo:

$ composer config repositories.pumukitlmsbundle vcs https://github.com/teltek/pumukit-lms-bundle.git

Step 2: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

$ composer require teltek/pumukit-lms-bundle dev-master

Step 3: Install the Bundle

Add the next line on bundles.php file:

Pumukit\LmsBundle\PumukitLmsBundle::class => ['all' => true]

Add the next lines on config/routes/annotations.yaml file:

pumukit_lms:
    resource: "@PumukitLmsBundle/Resources/config/routing.yml"
    prefix:   /

Step 4: Configure Bundle

Go to Resources/doc/Configuration.md

Step 5: Install LMS Publication Channel

Install the LMS Publication Channel with tag code PUCHLMS.

$ cd /path/to/pumukit/
$ php bin/console pumukit:lms:init:pubchannel

Step 6: Add the PUCHLMS tag code to the desire encoder profiles

Edit your config/packages/pumukit_encoder.yaml profile to add the PUCHLMS tag code to the desire encoder profiles, so in case a multimedia object has this Tag, the Tracks with those profiles will be generated.

For example, if you want to generate a video_h264 Track each time the LMS Publication Channel is added to a Multimedia Object, you should add the tag code this way:

pumukit_encoder:
    ...
    profiles:
        video_h264:
	    ...
            target: PUCHWEBTV PUCHPODCAST PUCHLMS

For PuMuKIT the latest version ( higher than 2.3.x ) , add this configuration to config/packages/pumukit_encoder.yaml as well:

pumukit_encoder:
    target_default_profiles:
        PUCHLMS:
            video: "video_h264"

Step 7: (Optional) Set the permissions

Add the "Init Multimedia Objects in published status" role to those users with a permission profile with personal scope, if you want them to publish their own videos immediately. Example for "Auto Publisher" permission profile:

php app/console pumukit:permission:update "Auto Publisher" ROLE_INIT_STATUS_PUBLISHED

Step 8: Override PumukitNewAdminBundle:MultimediaObject:list.html.twig template

Run the pumukit:lms:init:resources command the branch corresponding to your PuMuKIT version:

php bin/console pumukit:lms:init:resources 4.x

If your current version gives an error, please open an issue on GitHub.

Clear cache:

php bin/console cache:clear
php bin/console cache:clear --env=prod

Documentation

  1. Configuration

2.- Plugin list

teltek/pumukit-lms-bundle 适用场景与选型建议

teltek/pumukit-lms-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 10.53k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2019 年 05 月 06 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「symfony」 「bundle」 「moodle」 「lms」 「LTI」 「pumukit」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 teltek/pumukit-lms-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 teltek/pumukit-lms-bundle 我们能提供哪些服务?
定制开发 / 二次开发

基于 teltek/pumukit-lms-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 5
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2019-05-06