CommonPHP Assets owns static asset resolution, asset URLs, cache headers, asset responses, and the HTTP surface used to serve assets.
- safe virtual path normalization;
- root-based asset lookup;
- manifest lookup for built assets;
- MIME type detection;
- asset metadata;
- ETag and Last-Modified handling;
GETandHEADasset responses;- an HTTP surface for
/assets-style mounts.
- general-purpose filesystem operations;
- file uploads;
- image transformation;
- JavaScript or CSS bundling;
- CDN synchronization;
- authentication or authorization;
- template rendering;
- route matching beyond its HTTP surface prefix.
comphp/httpowns request and response primitives, middleware, surface registration, and response emission.comphp/filesystemowns virtual mounts and file operations.comphp/webmay compose assets with routing, UI, and page rendering.comphp/docsmay use asset-style helpers, but documentation parsing and navigation belong there.