This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

H5P Game Plugin for laravel platform

dev-master 2020-07-31 18:11 UTC

This package is auto-updated.

Last update: 2021-08-29 02:09:43 UTC



Fork from Djoudi


Require it in the Composer.

composer require tomide/laravel-h5p

Publish the Views, Config and so things.

php artisan vendor:publish --provider=Djoudi\LaravelH5p\LaravelH5pServiceProvider --force

Migrate the Database

php artisan migrate

Run the following commands to sync the storage paths

For linux and Osx

cd public/vendor/h5p
ln -s ../../../storage/h5p/content
ln -s ../../../storage/h5p/editor
ln -s ../../../storage/h5p/libraries

For windows

cd public/vendor/h5p
mklink /d content ..\..\..\storage\h5p\content
mklink /d editor ..\..\..\storage\h5p\editor
mklink /d libraries ..\..\..\storage\h5p\libraries