Download the PHP package devianl2/laravel-scorm without Composer
On this page you can find all versions of the php package devianl2/laravel-scorm. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-scorm
Laravel Scorm Handler (DISCONTINUE)
Design for Laravel LMS
Laravel Scorm Handler is a laravel package that simplify scorm package contents (zip file) into laravel storage.
Highlight of this package:
- Zipfile handler with auto extract and store sco into database
- Store user CMI data into database
- Get user last learning data
Things you must know before you install:
1) You have a domain/subdomain to serve scorm content 2) Scorm content folder/path must be outside from laravel application (Security issue). 3) Virtual host to point domain/subdomain to scorm content directory (E.g: /scorm/hashed_folder_name/) 4) Uploaded file should have the right permission to extract scorm files into scorm content directory 5) This package will handle folder creation into scorm content directory (E.g: /scorm/{auto_generated_hashname}/imsmanifest.xml)
Step 1:
Install from composer (For flysystem v1)
Install from composer (For flysystem v2/v3)
Step 2:
Run vendor publish for migration and config file
Step 3:
Run config cache for update cached configuration
Step 4:
Migrate file to database
Step 5 (Optional):
Update SCORM config under config/scorm
- update scorm table names.
- update SCORM disk and configure disk @see config/filesystems.php
Update SCORM translations under resources/lang/en-US/scorm.php
- SCORM runtime errors exceptions handler, (Check next example)
- Copy and translate error msg with key for other locale as you wish.
After finishing don't forget to run php artisan config:cache
Step 6 (Optional):
Usage
Upgrade from version 2 to 3: Update your Scorm table:
- Add entry_url (varchar 191 / nullable)
- Change hash_name to title
- Remove origin_file_mime field
Upgrade from version 3 to 4: Update your Scorm table:
- Add identifier (varchar 191)
All versions of laravel-scorm with dependencies
doctrine/common Version ^3.1
league/flysystem Version ^2.0 || ^3.0
nesbot/carbon Version ^2.42
ext-zip Version *
ext-dom Version *