Create H5P programmatically from existing file


Hello !

I've installed the symfony H5P bundle :

This works fine ! I have a lot of existing .h5p files and wanted to import them programmatically in my website, during the fixtures creation process.

I've got a "Ressource" entity that contains an h5p Content. When i create an Ressource i create a new entity "Content" that is connected to the Ressource, but now i don't understand which way to use in order to link my .h5p file to the Content...

Does anybody have an idea about my issue ?

Thanks !