You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Contributors rely on scattered comments in #106 (closed), #155, #609 (closed), and lib/Web/ProjectManifest.php for phpc.json fields. There is no single checked-in reference at docs/phpc-json.md (called out in #155 tasks).
phpc validate-manifest (#654 ✅) enforces shape in CI, but operators still grep PHP for semantics of includes, assets, public, and future autoload.
Goal
A short, accurate manifest reference linked from README, examples/README.md, and #78 ROADMAP.
Scope
Create docs/phpc-json.md with field table + examples
Document current keys: entry, binary, public, assets, includes
Problem
Contributors rely on scattered comments in #106 (closed), #155, #609 (closed), and
lib/Web/ProjectManifest.phpforphpc.jsonfields. There is no single checked-in reference atdocs/phpc-json.md(called out in #155 tasks).phpc validate-manifest(#654 ✅) enforces shape in CI, but operators still grep PHP for semantics ofincludes,assets,public, and futureautoload.Goal
A short, accurate manifest reference linked from README,
examples/README.md, and #78 ROADMAP.Scope
docs/phpc-json.mdwith field table + examplesentry,binary,public,assets,includesautoload.psr-4(DevEx: PSR-4 autoload paths in phpc.json project manifest #155), deploy notes (AOT: phpc deploy bundles binary, public/, assets/, and phpc.json into dist/ #609 ✅, Docs: deploy-web-aot.md quickstart (phpc deploy + PHPC_DEPLOY_ROOT + nginx CGI) #635)phpc validate-manifest,test/unit/ValidateManifestTest.phpexamples/003-MiniWebApp/phpc.jsonandtemplates/init-miniwebapp/phpc.json(DevEx: Keep phpc init --profile miniwebapp template in sync with examples/003-MiniWebApp #695)Acceptance criteria
docs/phpc-json.mdProjectManifest.phpparser (no contradictions)phpc validate-manifest examples/*/phpc.jsonpasses onmasterVerification (local / Docker only)
phpc validate-manifest examples/003-MiniWebApp/phpc.json docker run --rm -v "$(pwd):/compiler" -w /compiler php-compiler:22.04-dev phpc validate-manifest examples/003-MiniWebApp/phpc.jsonNo GitHub Actions required.
Dependencies
Links
lib/Web/ProjectManifest.php,docs/deploy-web-aot.md