Skip to content

thomasmars/laravel-h5p

Repository files navigation

H5P Plugin in Laravel Framework

Installation

composer require thomasmars/laravel-h5p
php artisan vendor:publish
php artisan migrate
'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' => [
    thomasmars\LaravelH5p\LaravelH5pServiceProvider::class,
];

Expose storage

Make sure your server can serve /storage files on the /storage location of your server. This is needed for viewing H5P Content Types.

Efforts

Thanks to chali5124 for his efforts with the laravel-h5p plugin, check out his laravel-h5p.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published