mohammed-zaki / laravel-h5p
H5P Plugin for laravel platform
This package's canonical repository appears to be gone and the package has been frozen as a result.
v1.0.0
2021-08-14 06:05 UTC
Requires
- php: ^7.2
- guzzlehttp/guzzle: >=6.2
- h5p/h5p-core: ^1.24.0
- h5p/h5p-editor: ^1.24.0
- laravel/framework: >=7.0
- laravelcollective/html: >=6.1
Requires (Dev)
- fzaninotto/faker: ^1.8
- mockery/mockery: 1.2.*
- phpunit/phpunit: ~7.0
This package is auto-updated.
Last update: 2024-03-12 08:34:40 UTC
README
Description
Installation
Require it in the Composer.
composer require mohammed-zaki/laravel-h5p
Publish the Views, Config and so things.
php artisan vendor:publish --provider="Zaki\LaravelH5p\LaravelH5pServiceProvider"
Migrate the Database
php artisan migrate
Add to Composer-Classmap:
'classmap': [ "vendor/h5p/h5p-core/h5p-default-storage.class.php", "vendor/h5p/h5p-core/h5p-development.class.php", "vendor/h5p/h5p-core/h5p-event-base.class.php", "vendor/h5p/h5p-core/h5p-file-storage.interface.php", "vendor/h5p/h5p-core/h5p.classes.php", "vendor/h5p/h5p-editor/h5peditor-ajax.class.php", "vendor/h5p/h5p-editor/h5peditor-ajax.interface.php", "vendor/h5p/h5p-editor/h5peditor-file.class.php", "vendor/h5p/h5p-editor/h5peditor-storage.interface.php", "vendor/h5p/h5p-editor/h5peditor.class.php" ],
'providers' => [ Zaki\LaravelH5p\LaravelH5pServiceProvider::class, ];
For linux
cd public/assets/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
Credits
Abdelouahab Djoudi - Package creator.
Anass Boutakaoua - Laravel 7 support and base for this package.
Escola Soft - EscolaSoft/Laravel-H5P base for this package