devianl2 / laravel-scorm

Laravel scorm package
MIT License
38 stars 20 forks source link

Handle publish translations for scorm runtime exceptions handler #11

Closed KhaledLela closed 2 years ago

KhaledLela commented 2 years ago
haithamrdina commented 2 years ago

when i use form to upload file i had this error Capture

haithamrdina commented 2 years ago

you have to change the database schema for the scorm table, right?

haithamrdina commented 2 years ago

sir u can help for tracking user tracking sco

haithamrdina commented 2 years ago

Capture

i get this error how to solve it ?? i think in scorm table will change $table->morphs('resource'); wth $table->nullableMorphs('resource');

right ??

KhaledLela commented 2 years ago

Capture

i get this error how to solve it ?? i think in scorm table will change $table->morphs('resource'); wth $table->nullableMorphs('resource');

right ??

   "require": {
       "php": ">=7.4",
       "ext-json": "*",
        // ... other dependency 
       "devianl2/laravel-scorm": "dev-{YOUR_BRANCH_NAME}"
   },
"repositories": [
       {
           "type": "vcs",
           "url": "https://github.com/{YOUR_USER_AME}/laravel-scorm"
       }
   ],
haithamrdina commented 2 years ago

u have any about playing scorm and traching user sco.??

devianl2 commented 2 years ago

Hi @haithamrdina , resource_type and resource_id is for your scorm to make a reference to e-learning module and ID.

For example, you created a course and starting to create module with module title and upload the scorm file. After you'd created the module record, you can call something like $module->scorm()->save($scorm);

haithamrdina commented 2 years ago

hi @devianl2
thank you so mush i appreciate this work if u can help me to use this package for tracking user sco for module with some example i m a student and i have a projet to create a simple lms and i need to use this package in my project and thank you so much