escolalms/topic-types

Escola Headless LMS Topic Types

Maintainers

πŸ‘ qunabu

Package info

github.com/EscolaLMS/topic-types

Type:package

pkg:composer/escolalms/topic-types

Statistics

Installs: 37 348

Dependents: 9

Suggesters: 0

Stars: 0

Open Issues: 0

0.2.53 2025-11-24 13:30 UTC

Suggests

Provides

None

Conflicts

None

Replaces

None

MIT eb24fad04a6364ef259d0709316a4f9e293c00ab

  • Mateusz Wojczal <mateusz.wojczal.woop@escola.pl>
  • PaweΕ‚ ChoΕ‚aj <pawel.cholaj.woop@escola.pl>

README

Extending package for courses

πŸ‘ codecov
πŸ‘ phpunit
πŸ‘ downloads
πŸ‘ downloads
πŸ‘ downloads
πŸ‘ Maintainability
πŸ‘ Test Coverage

What does it do

This repository stores code for EscolaLMS Content Topic types. At the moment there are the following types:

Those types are used for building headless Course.

Installing

This package is installing with package course - See TopicTypes

Adding new Content Types

It's possible to add any new content type, for example HTML Text.

See Courses readme for tutorial

Tests

Run ./vendor/bin/phpunit --filter 'EscolaLms\\TopicTypes\\Tests' to run tests. See tests folder as it's quite good staring point as documentation appendix.

Test details πŸ‘ codecov
πŸ‘ phpunit

Events

  • EscolaLms\TopicTypes\Events\TopicTypeChanged => Event is dispatched when topic type value is changed.

Admin panel

Add topic type to lesson

πŸ‘ TopicType