Download the PHP package emmedy/h5p-bundle without Composer

On this page you can find all versions of the php package emmedy/h5p-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package h5p-bundle

H5PBundle

Bundle to integrate H5P into Symfony. This bundle is a port of the H5P Drupal module. For more info about H5P see H5P.org

This bundle was tested on :

Version Supported Symfony 3 Symfony 4 Symfony 5 Symfony 6 Symfony 7
2.X
1.X H5PBundle for Symfony 2.X and 3.X

Prerequisite

You need install doctrine annotations and orm before running this installation

Installation

Install with composer

Enable the bundle in AppKernel.php

Warning for Windows : You need launch the cmd in administrator or using option -c

Add the H5P assets to the bundle

and reexecute ...

Add required tables and relations to the database

or

`

Enable the routing in routes.yaml

emmedy_h5p.demo is optional. It can be used as an example how to use H5P within Symfony and test if this bundle is working properly.

Configuration

For SF4: Configure the bundle in services.yaml. (Watch for the underscore between h5 and p)

For Symfony 5: Configure the bundle in packages > h5pBundle.yml.

For all configurations see Configuration.php

if you are using permissions here is the current list of permissions in the bundle :

Permission Description
ROLE_H5P_DOWNLOAD_ALL Download the H5P packages
ROLE_H5P_EMBED_ALL Embed/Share to everyone the H5P
ROLE_H5P_CREATE_RESTRICTED_CONTENT_TYPES Restrict for user the type install
ROLE_H5P_UPDATE_LIBRARIES Allow/Disallow the update of package H5P
ROLE_H5P_INSTALL_RECOMMENDED_LIBRARIES Allow/Disallow to install libraries
ROLE_H5P_COPY_ALL Allow/Disallow to copy H5P (If you want to Download, you must install to have this role too)

Usage

First add a virtual host that points to you project. Then in your browser go to http://<your virtualhost>/h5p/list

Todo

Working:

Not everything is ported yet. The following things still need to be done:

Changelog:

Developing:

Run the static analyzer like that:


All versions of h5p-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >= 8.1
doctrine/orm Version ~2.0|~3.0
guzzlehttp/guzzle Version ^7.9
h5p/h5p-core Version 1.27
h5p/h5p-editor Version ^1.25
symfony/framework-bundle Version ~6.0|~7.0
symfony/serializer Version ~6.0|~7.0
twig/extra-bundle Version ^3.0
doctrine/doctrine-bundle Version ^2.13
symfony/security-bundle Version ~6.0|~7.0
symfony/asset Version ~6.0|~7.0
symfony/form Version ~6.0|~7.0
ext-json Version *
symfony/intl Version ~6.0|~7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package emmedy/h5p-bundle contains the following files

Loading the files please wait ....