Skip to content
On this page


swaggercodecovphpunitdownloadsdownloadsdownloadsMaintainabilityTest Coverage

What does it do

This package is responsible for dealing courses in .ulam format

1. Exporting

Export do create zip package in ulam format with content.json and all essential assets. Export Resource is used for this.

2. Importing

Importing the courses in ulam format.

3. Cloning


  • composer require escolalms/course-import-export
  • php artisan db:seed --class="EscolaLms\CoursesImportExport\Database\Seeders\CoursesExportImportPermissionSeeder"


All the endpoints are defined in swagger swagger


Run ./vendor/bin/phpunit to run tests. See tests folder as it's quite good staring point as documentation appendix.

Test details codecovphpunit


  1. CloneCourseStarted - event dispatched after course cloning is started.
  2. CloneCourseFailed - event dispatched after unsuccessful course cloning.
  3. CloneCourseFinished - event dispatched after successfully course cloning.


Permissions are defined in seeder