2017 © Pedro Peláez
 

library laravel-h5p

H5P Plugin for laravel platform

image

trotexnet/laravel-h5p

H5P Plugin for laravel platform

  • Saturday, April 21, 2018
  • by cierra-gmbh
  • Repository
  • 0 Watchers
  • 0 Stars
  • 19 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 8 Versions
  • 90 % Grown

The README.md

StyleCI, (*1)

H5P Plugin in Laravel Framework

Description

This repro is to integrate h5p into laravel. It's a Fork from Djoudi. It's runnable and contains a few extensions. Feel free to contribute!, (*2)

Installation

Require it in the Composer., (*3)

composer require trotexnet/laravel-h5p

Publish the Views, Config and so things., (*4)

php artisan vendor:publish

Migrate the Database, (*5)

php artisan migrate

Add to Composer-Classmap:, (*6)

'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' => [
    Djoudi\LaravelH5p\LaravelH5pServiceProvider::class,
];
cd public/assets/vendor/h5p
ln -s ../../../../storage/h5p/libraries
ln -s ../../../../storage/h5p/editor

The Versions