escolalms/scorm
Scorm
What does it do
This package is used to store and manage SCORM packages.
Installing
composer require escolalms/scormphp artisan migratephp artisan db:seed --class="EscolaLms\Scorm\Database\Seeders\DatabseSeeder"php artisan db:seed --class="EscolaLms\Scorm\Database\Seeders\PermissionTableSeeder"
Database
scorm- Scorm package main data.scorm_sco- Educational content data associated with the Scorm package.scorm_sco_tracking- Stores the user's progress.
Scorm 1 -> n ScormScos
Scorm 1 -> n ScormScoTracking
Tutorial
- Get the Scorm package from EscolaLms\Scorm or Sample SCORM packages.
- Upload Scorm package in Zip format
/api/admin/scorm/upload. - Start the player by specifying uuid Scorm SCO
/api/scorm/play/{uuid}. - The package supports tracking user progress, to achieve this, you need to send an authorization token in the header.
Endpoints
/api/admin/scorm/upload- Upload ZIP Scorm Package into app local storage./api/scorm/play/{uuid}- SCORM SCO player.
All the endpoints are defined in swagger
Tests
Run ./vendor/bin/phpunit to run tests. See tests folder as it's quite good staring point as documentation appendix.
How to use this on frontend.
Endpoint /api/scorm/play/{uuid} returns the html file with the <iframe>.
<html lang="en">
...
<iframe src="api/storage/{scorm-version}/{uuid}/index.html"></iframe>
...
</html>
Admin panel
List of Scorm packages

Scorm player

Permissions
Permissions are defined in seeder.
Todo.
The package does not support all available scorm formats #1 #2
Related Packages
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 0.3.1 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.3.0 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.24 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.23 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.22 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.21 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.20-patch-1 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.20 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.19 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.18 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.17 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.16 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.15 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.14 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.13 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.12 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.11 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.10 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.9 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.8 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.7 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.6 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.5 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.4 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.3 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.2 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.1 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.2.0 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.1.5 | >=7.4 | >=8.0 | Apache-2.0 | |
| 0.1.4 | >=7.4 | >=8.0 | Apache-2.0 |
Showing the latest 30 of 34. See every release on Packagist