Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

H5P Editor Laravel Package

h5p/h5p-editor

A general PHP library for implementing the H5P editor in most PHP projects. It provides the editor assets and backend needed to create and modify H5P content, with SCSS sources and Compass build instructions for customizing styles.

View on GitHub
Deep Wiki
Context7

At a glance

Frequently asked questions about H5P Editor
Is h5p/h5p-editor a Laravel package?
No. It is a general PHP library for implementing the H5P editor in PHP projects, not a Laravel package. In Laravel it must sit beneath a custom adapter or a community H5P integration package.
How do I install h5p/h5p-editor with Composer in Laravel?
Install it with Composer alongside h5p/h5p-core and the H5P content types you plan to support. Composer installation is straightforward, but there is no Laravel auto-discovery, service provider, configuration file, route registration, or migration. You will need to build the Laravel glue yourself and pin compatible versions.
Does h5p/h5p-editor support Laravel auto-discovery, config publishing, routes, or migrations?
No. The library does not provide Laravel-specific bootstrapping, configuration publishing, route registration, or migrations. Your adapter must register editor endpoints, publish assets, map storage, and apply middleware. Treat it as a lower-level dependency rather than a typical Laravel package.
Which Laravel and PHP versions work with h5p/h5p-editor?
The provided context does not document a supported Laravel or PHP version matrix. Compatibility gaps are a known risk, so test early against your target Laravel and PHP versions. Pin Composer versions for the editor, core library, and content types, then validate the full editor flow in a non-production spike.
How do I wire H5P editor AJAX endpoints in Laravel?
Create routes and controllers for the editor AJAX endpoints, then apply Laravel middleware for authentication and authorization. Some H5P endpoints may need CSRF exceptions, so scope those exceptions carefully and verify path and URL generation behind proxies. Also publish editor assets and confirm that H5P asset paths resolve correctly under Laravel's public directory or a CDN.
Do I need Ruby and Compass to build H5P editor styles?
The README describes compiling SCSS to CSS using Ruby and Compass, including compass watch or compass clean and compass compile. If compiled CSS is shipped with your installed version, you may avoid a runtime build, but verify that before relying on it. For customization, maintain a controlled build step rather than requiring Ruby tooling in production.
How should I store H5P content and uploads in Laravel?
Map H5P file operations to Laravel filesystem disks and keep temporary uploads separate from permanent content. Apply permissions carefully and isolate storage per tenant if your application is multi-tenant. Validate file-upload paths, URL generation, and storage permissions before enabling authoring for users.
Is h5p/h5p-editor production-ready for a Laravel application?
Treat it as a building block with medium to high technical risk, not a proven Laravel integration. Adoption signals are weak, documentation is thin, and your team will own the adapter, upgrades, and troubleshooting. Start with one content type and a staged rollout, then harden auth, storage, asset delivery, and error handling.
Which h5p/h5p-core and content-type versions are compatible with h5p/h5p-editor?
Compatibility is not documented in the provided context, so do not assume version alignment. Pin the editor library, core library, and each content type, and test them as a separate compatibility matrix from your Laravel and PHP versions. Confirm compatibility before expanding the enabled content types.
Are there Laravel alternatives to building an adapter around h5p/h5p-editor?
You can use an existing community H5P Laravel integration as a reference or alternative, but evaluate its maintenance and security posture. Otherwise, build an internal adapter package around h5p/h5p-editor and h5p/h5p-core. The library itself is an authoring dependency, not a complete content delivery or LMS feature.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource