From 2b254cf92c12aa6324336170c8b7b1fe160d36c5 Mon Sep 17 00:00:00 2001 From: Mateusz Qunabu Date: Sat, 24 Apr 2021 20:42:00 +0200 Subject: [PATCH 1/3] Update readme.md --- readme.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 935b2b2e..bbb9bb0a 100644 --- a/readme.md +++ b/readme.md @@ -21,14 +21,20 @@ See [Swagger](https://escolalms.github.io/H5P/) documented endpoints. ## Install -1. `composer require escolalms/laravel-headless-h5p` +1. `composer require escolalms/headless-h5p` 2. `php artisan migrate` ### Storage links You need to publish many of files to be availabe as public link. -`php artisan h5p:link` which creates a symbolic link from `storage/app/h5` and `vendor/h5p/h5p-core` and `vendor/h5p/h5p-editor` to be accesible to public. +`php artisan h5p:link` which creates a symbolic link from `storage/app/h5` and `vendor/h5p/h5p-core` and `vendor/h5p/h5p-editor` to be accesible to public, as follows + + ``` +public_path('h5p') => storage_path('app/h5p'), +public_path('h5p-core') => base_path().'vendor/h5p/h5p-core', +public_path('h5p-editor') => base_path().'vendor/h5p/h5p-editor', +``` ### Cors From 0fe12358fd4c708c1fab79e6ea9b749b348a7206 Mon Sep 17 00:00:00 2001 From: Mateusz Qunabu Date: Sat, 24 Apr 2021 20:48:48 +0200 Subject: [PATCH 2/3] Update readme.md --- readme.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index bbb9bb0a..b8bfd3ad 100644 --- a/readme.md +++ b/readme.md @@ -8,7 +8,7 @@ ## Features -The lib allows to +The lib allows headlessly - play all h5p content - exposed all essential data, yet player is needed - edit all h5p content - exposed all essential data, yet editor is needed @@ -19,6 +19,10 @@ The lib allows to See [Swagger](https://escolalms.github.io/H5P/) documented endpoints. +Some [tests](tests) can also be a great point of start. + +To play the content you can use [EscolaLMS H5P Player](https://github.com/EscolaLMS/H5P-player) + ## Install 1. `composer require escolalms/headless-h5p` From 4c47546e240bffaf97e7c8fc5636a0f02469fd5a Mon Sep 17 00:00:00 2001 From: Mateusz Qunabu Date: Sat, 24 Apr 2021 20:52:32 +0200 Subject: [PATCH 3/3] Update readme.md --- readme.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/readme.md b/readme.md index b8bfd3ad..e678cb7f 100644 --- a/readme.md +++ b/readme.md @@ -58,3 +58,13 @@ You can seed library and content with build-in seeders that are accessible with - `php artisan h5p:seed` to add just libraries - `php artisan h5p:seed --addContent` to add content with libraries + +## Road map + +- caching +- content export +- some transaltions are missing +- casading delete +- sql foreign keys indexing +- clearup task - deleting temp files, marked for delete +- in some contents, js libs content is invalid