escolalms / topic-types
Escola Headless LMS Topic Types
Installs: 13 607
Dependents: 9
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
Requires
- php: >=7.4
- davidbadura/faker-markdown-generator: ^1.1
- escolalms/courses: ^0.4
- escolalms/headless-h5p: ^0
- laravel/framework: >=8.0
- pbmedia/laravel-ffmpeg: ^7|^8
- smalot/pdfparser: ^2.5
Requires (Dev)
- escolalms/courses-import-export: ^0
- orchestra/testbench: >=5.0
- phpunit/phpunit: ^9.0
Suggests
- escolalms/cmi5: ^0
- escolalms/courses: Topic types is a package related to escolalms/courses without which it may not work properly.
- dev-main
- 0.2.51
- 0.2.50
- 0.2.49
- 0.2.48
- 0.2.47
- 0.2.46
- 0.2.45
- 0.2.44
- 0.2.43
- 0.2.42
- 0.2.41
- 0.2.40
- 0.2.39
- 0.2.38
- 0.2.37
- 0.2.36
- 0.2.35
- 0.2.34
- 0.2.33
- 0.2.32-patch
- 0.2.32
- 0.2.31
- 0.2.30
- 0.2.29
- 0.2.28
- 0.2.27
- 0.2.26
- 0.2.25
- 0.2.24
- 0.2.23
- 0.2.22
- 0.2.21
- 0.2.20
- 0.2.19
- 0.2.18
- 0.2.17
- 0.2.16
- 0.2.15
- 0.2.14
- 0.2.13
- 0.2.12
- 0.2.11
- 0.2.10
- 0.2.9
- 0.2.8
- 0.2.7
- 0.2.6
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.7
- 0.1.6
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- 0.0.4
- 0.0.3
- 0.0.2
- 0.0.1
- dev-feature/sa
- dev-issues/15
- dev-feature/fix-getimagesize
- dev-issues/123
- dev-feature/scorm-type
- dev-feature/topic-types-forced-morph-class
This package is auto-updated.
Last update: 2024-11-22 13:23:39 UTC
README
Extending package for courses
What does it do
This repository stores code for EscolaLMS Content Topic types. At the moment there are the following types:
- Audio.
- H5P. Reusable Interactive HTML5 Content
- Image.
- oEmbed. oEmbed is a format for allowing an embedded representation of a URL on third party sites.
- RichText. Markdown rich texts. Like github readme files
- Video. Video with possible conversion to HLS format.
- PDF.
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.
Events
EscolaLms\TopicTypes\Events\TopicTypeChanged
=> Event is dispatched when topic type value is changed.
Admin panel
Add topic type to lesson