Skip to content

Docs: docs/phpc-json.md — project manifest reference (autoload, deploy, gates) #727

@PurHur

Description

@PurHur

Problem

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

Acceptance criteria

  • README “Web workflow” links to docs/phpc-json.md
  • Manifest doc matches ProjectManifest.php parser (no contradictions)
  • phpc validate-manifest examples/*/phpc.json passes on master

Verification (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.json

No GitHub Actions required.

Dependencies

Links

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions