phpdocumentor/unified-asset-installer
Composer custom installer for phpDocumentor assets. Installs packages of type phpdocumentor-template into /data/template instead of /vendor so templates land where phpDocumentor expects them. Intended for template authors; plugin support is planned.
/vendor is inaccessible or undesirable.phpdocumentor-plugin type or advanced asset routing). Otherwise, avoids reinventing the wheel.Adopt if:
/vendor (e.g., /data/template, /opt/docs).Look elsewhere if:
/vendor installations (default Composer behavior suffices).For Executives: "This package solves a technical debt problem for our documentation workflows. Currently, maintaining phpDocumentor templates in non-standard locations requires manual workarounds (symlinks, scripts), which slows down releases and onboarding. By adopting this Composer installer, we’ll automate asset placement—saving ~2 hours/quarter in maintenance—while keeping our docs tooling aligned with industry standards. The risk is low: it’s a battle-tested solution for phpDocumentor’s ecosystem, and we can fallback to custom scripts if needed."
For Engineering: *"The phpdocumentor/unified-asset-installer lets us ditch hacky post-install steps for templates/plugins. Here’s how it works:
phpdocumentor-template Composer type that installs assets to /data/template (configurable) instead of /vendor.composer.json with the type and dependency, and it ‘just works.’composer.json for affected packages.For Developers:
*"If you’re tired of ln -s /vendor/... /data/template or editing composer.json after every install, this package automates it. Just:
"type": "phpdocumentor-template" to your template’s composer.json.phpdocumentor/unified-asset-installer.composer install—assets go to /data/template automatically.
Pro tip: Check the FAQ for the naming quirk (must be alphabetically after ‘template’)."*How can I help you explore Laravel packages today?