Skip to content

Docs: GETTING-STARTED optional step — 006-FileUploadWeb multipart upload demo #2043

Description

@PurHur

Problem

docs/GETTING-STARTED.md has an optional 005-SessionsWeb presenter step (#1958 ✅) but no parallel for 006-FileUploadWeb. The example is on master (#1999 ✅) with VM multipart smoke default-on (#2009 ✅) and AOT execute (#2012 ✅), yet first-time presenters still miss the curl -F upload story when demoing file handling without Zend PHP.

Goal

Add an optional numbered step (after §5 SessionsWeb, before self-host) mirroring examples/006-FileUploadWeb/README.md:

./phpc serve examples/006-FileUploadWeb
curl -s -F 'doc=@examples/006-FileUploadWeb/README.md' http://127.0.0.1:8080/example.php

Mention AOT/deploy as “when LLVM green” links only (#2012, #2028, #2038) — do not block the VM presenter path.

Scope

Piece Path
Guide docs/GETTING-STARTED.md — new subsection + talking point
Cross-link examples/README.md § 006, #2010 phpc doctor --gates
Status site Optional one-liner in docs/pages/development-status.md (#2039 bundle)

Out of scope: deploy-smoke.sh (#2028); phpc init --profile fileupload (#2004 ✅).

Acceptance criteria

Verification (local / Docker only)

make examples-web-smoke
# or:
FILE_UPLOAD_WEB_SMOKE_GATE=1 ./script/examples-web-smoke.sh
docker run --rm -v "$(pwd):/compiler" -w /compiler php-compiler:22.04-dev \
  make examples-web-smoke

No GitHub Actions (#394 ✅).

Dependencies

Links

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions