Download the PHP package escolalms/scorm without Composer
On this page you can find all versions of the php package escolalms/scorm. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package scorm
Scorm
What does it do
This package is used to store and manage SCORM packages.
Installing
composer require escolalms/scorm
php artisan migrate
php 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.
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>
.
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
All versions of scorm with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
devianl2/laravel-scorm Version ^2.0
laravel/framework Version >=8.0
escolalms/core Version ^1
escolalms/auth Version ^0
devianl2/laravel-scorm Version ^2.0
laravel/framework Version >=8.0
escolalms/core Version ^1
escolalms/auth Version ^0
The package escolalms/scorm contains the following files
Loading the files please wait ....