diff options
author | Devian <devianleong@gmail.com> | 2021-04-22 17:03:46 +0800 |
---|---|---|
committer | Devian <devianleong@gmail.com> | 2021-04-22 17:03:46 +0800 |
commit | 745cf2431a71d0e6c5f08f8605839279b2f7496e (patch) | |
tree | 11e4c7a19ac9f9efc1bb253b29b1fa488c34238e /README.md |
Initiate commit
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..3507ad8 --- /dev/null +++ b/README.md @@ -0,0 +1,39 @@ +# Laravel Scorm Handler +## _Design for Laravel LMS_ + +[](https://www.peopleaps.com) + + +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 +```sh +composer require peopleaps/scorm +``` + +## Step 2: +Run vendor publish for migration and config file +```sh +php artisan vendor:publish --provider="Peopleaps\Scorm\ScormServiceProvider" +``` + +## Step 3: +Migrate file to database +```sh +php artisan migrate +``` + |