How to integrate H5P in core PHP


I want to integrate h5p in core. have downloaded the libraries from the git but how do I show the content type form.i am having no clue how to start with the things.

serettig's picture

What do you mean exactly? Do you want to use it without any CMS or LMS, like Drupal, Wordpress or Moodle? This is currently not possible, unfortunately.

Yes without CMS or LMS. Want to use it in custom made LMS in CakePHP.

serettig's picture

Then you'll have to write your own implementation that makes use of h5p-editor-php-library and h5p-php-library. There are several implementations around already (e.g. h5p-moodle-plugin which you can use as a starting place). Writing your own implementation isn't trivial, however. You can find some basic information here: You'll have to look at the existing implementations for many things, though.