teltek/pmk2-lms-bundle
Composer 安装命令:
composer require teltek/pmk2-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
2.- Plugin list
teltek/pmk2-lms-bundle 适用场景与选型建议
teltek/pmk2-lms-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 68 次下载、GitHub Stars 达 2, 最近一次更新时间为 2018 年 05 月 22 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「symfony」 「bundle」 「moodle」 「lms」 「LTI」 「pumukit」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 teltek/pmk2-lms-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 teltek/pmk2-lms-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 teltek/pmk2-lms-bundle 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
2lenet/EasyAdminPlusBundle
The bundle for easy using json-rpc api on your project
Pumukit Lms Bundle.
Provide a way to secure accesses to all routes of an symfony application.
DMS Meetup API Bundle, enables Meetup API clients in services
Behat extension that reports with the JUnit format and is compatible with Moodle reruns.
统计信息
- 总下载量: 68
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2018-05-22