tomide / laravel-h5p
H5P Game Plugin for laravel platform
dev-master
2020-07-31 18:11 UTC
Requires
- php: ^7.1
- guzzlehttp/guzzle: ^6.2
- h5p/h5p-core: ^1.23.0
- h5p/h5p-editor: ^1.23.0
- laravel/framework: 5.8.*
- laravelcollective/html: 5.8
- twbs/bootstrap-sass: @stable
Requires (Dev)
- fzaninotto/faker: ^1.8
- mockery/mockery: 1.2.*
- phpunit/phpunit: ~7.0
- xethron/migrations-generator: ^2.0
This package is auto-updated.
Last update: 2025-03-01 00:32:13 UTC
README
Description
Fork from Djoudi
Installation
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