z77 / module-dms
Z77 DMS Module | authorized document delivery (OutputController) + drive surface for the document management system.
Package info
pkg:composer/z77/module-dms
Requires
- php: >=8.2
- ext-gd: *
- z77/kernel: ^1.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
The document management module (ADR-017). Owns the user-facing DMS surfaces and the
authorized byte delivery. Depends on z77/kernel. Built incrementally by the DMS rebuild
plan (docs/03-development/dms-umbauplan.md).
Read-only split from z77-ch/z77-framework. Do not commit here.
Current scope (R4c)
OutputController(Ui/Controllers/Media/OutputController.php) — the GUEST output endpoint behind the/mediareserved route. It resolves a structural/media/{area}/{folder…}/{file}path to a document + variant (DocumentService::resolve), branches on the effectivedeliveryMode(public= open;protected/sealed=AclService::canReadACL + active gate before any byte), and returns aFileResponse(portable PHP range-stream) or 404 — existence is never leaked.
The /media reserved route is registered in App/Config/dmsConfig.inc.php and replaces the
former MediaController + /media NavigationAlias.
Planned (later phases)
- Logged-in user / admin "drive" management surface (R6).
- Share controller + supplier upload + API auth (R7).
Getting started
Don't start a project with composer require. Use the
z77-skeleton template — Use this template →
composer install. It wires all four packages, the installer, and the override structure.
composer require z77/module-dms only adds this module to an existing z77 project.