ezsystems/hybrid-platform-ui-assets
Composer package supplying the external frontend dependencies required by the Hybrid Platform UI. The master branch contains only meta files; the actual assets are distributed in tagged releases, so use a tag to retrieve the dependencies.
First, calibrate expectations: this is not a Laravel package. There is no service provider, no config/ file, no facade, and no PHP API surface. It is a Composer-distributed static asset bundle that ships the prebuilt JavaScript/CSS (and Bower-style dependencies) required by the legacy eZ Platform Hybrid Platform UI (the React-based admin console used in eZ Platform 1.x/2.x). You "use" it the same way you would use a vendored font or a precompiled admin theme — by getting the files onto your web root and referencing them.
Minimal steps:
dev-master. The README is explicit: the master branch contains only meta files. The payload lives in tags. Inspect the tag list on the repo/Composer and pin accordingly:
composer require ezsystems/hybrid-platform-ui-assets:<tag>
Use a concrete version constraint (~1.x.y style) rather than dev-master, or you will install an empty directory.composer.json (for any extra install hints), and — most important — the consuming eZ Platform project's composer.json/assets:install setup, which is what historically published these files into web/.php bin/console assets:install --symlink. In a Laravel context, copy the tagged payload once into your public root (see patterns below) and reference it from a layout.Look at vendor/ezsystems/hybrid-platform-ui-assets/ immediately after install — if the directory is thin or empty, you installed the master branch and need to redo step 2.
Treat it as a passive asset vendor, not a build dependency. The entire point of the package is that you do not need Node/npm/Bower at install time — the artifacts are already compiled and committed in the tag. Do not try to run a frontend build against it.
Symfony/eZ Platform pattern (the intended one). Let the framework's asset installer symlink the package's public directory under the web root, then reference those paths from the admin layout. This is the only "supported" path and the one the Hybrid Platform UI expects. Keep it in composer.json as a normal dependency and let assets:install do the work on deploy.
Laravel pattern (adaptation). Since there is no Laravel integration, wrap the publish step yourself:
post-install-cmd / post-update-cmd script, or a tiny artisan command, that copies vendor/ezsystems/hybrid-platform-ui-assets/<tag>/** into public/vendor/hybrid-platform-ui/.asset('vendor/hybrid-platform-ui/...').Version-lock the trio. These assets are only meaningful alongside a matching Hybrid Platform UI version. Pin the assets package, the UI package, and the eZ kernel together in composer.lock, and upgrade them as a set — not independently.
Container/CI pattern. Bake the tagged assets into the image during build (composer install --no-dev at build time) so runtime containers never touch the network. Because the payload is static, this is safe and reproducible.
Customization pattern. Never edit files under vendor/. If you need to change behavior, override at the consuming application layer (your own CSS/JS loaded after these, or a fork of the UI package). The package has no extension points of its own.
dev-master is a trap. The master branch is deliberately meta-only. A composer require ...:dev-master yields a directory with no assets, and the failure mode is a blank or unstyled admin UI rather than an install error. Always pin a tag.ls the installed tag directory to confirm files exist; (2) confirm the symlink/copy landed where the web server serves it; (3) check the browser Network tab for 404s on bundle paths; (4) verify the layout references match the filenames the UI expects.composer clear-cache and reinstall the pinned tag.How can I help you explore Laravel packages today?