drupal/lms_demo_kit
Composer 安装命令:
composer require drupal/lms_demo_kit
包简介
Layers a complete LMS onto a Drupal site: course and class group types, activity types with answer plugins, LMS roles, certificates, membership requests, course views, and demo course content.
README 文档
README
A Drupal recipe that layers a complete learning management system onto an existing Drupal site, built on the LMS module ecosystem. Applying it sets up:
- Course and class group types (via Group) with membership requests and approval workflows.
- Activity types with answer plugins: true/false, single/multiple select, fill in the blanks, and free text — each with an optional feedback variant.
- LMS admin and teacher roles with sensible permissions.
- Certificates awarded on course completion.
- Course views and navigation blocks, placed in Olivero and Claro.
- Demo course content so the system is explorable immediately after apply.
The recipe also sets the site name to "Drupal LMS" and the front page to
/courses; adjust after applying if you are adding the LMS to an existing site.
Requirements
- Drupal core ^11
- PHP per core requirements
- Drush 13+ recommended for applying the recipe
Installation
If your project was created with drupal/recommended-project on Drupal 11.2+,
skip to the require step. Otherwise, first configure Composer to place
recipes in the recipes/ directory:
composer config allow-plugins.drupal/core-recipe-unpack true
composer require drupal/core-recipe-unpack composer/installers:^2.3
composer config --json --merge extra.installer-paths '{"recipes/{$name}": ["type:drupal-recipe"]}'
Some of this recipe's dependencies are pre-release, so allow their stability levels, then require the recipe:
composer require \
drupal/lms_certificate:^1.0@alpha \
drupal/lms_certificate_entity:1.0.x-dev \
drupal/lms_membership_request:^1.1@beta \
drupal/lms_xapi:^1.0@beta \
drupal/lms_yaml:^1.0@beta \
drupal/lms_demo_kit
Applying the recipe
Recipes are applied once, not installed like modules:
drush recipe recipes/lms_demo_kit
drush cr
Or without Drush, from the webroot:
php core/scripts/drupal recipe recipes/lms_demo_kit
After applying
- Browse to
/coursesto see the demo courses. - Assign users the LMS admin or teacher role to manage courses.
- Demo content is regular content — delete it when you no longer need it.
Maintainers
Developed by Tag1 Consulting.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2026-07-14