Skip to content

Add phpc init --profile fastcgiweb scaffold (#2342) - #2376

Merged
PurHur merged 1 commit into
masterfrom
issue-2342-fastcgiweb-init-profile
May 26, 2026
Merged

PurHur merged 1 commit into
masterfrom
issue-2342-fastcgiweb-init-profile

Conversation

@PurHur

@PurHur PurHur commented May 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds templates/init-fastcgiweb/ byte-synced with examples/009-FastCGIWeb/ (example.php, phpc.json).
  • Registers fastcgiweb in PhpcInit and documents it in phpc doctor --gates, docs/phpc-json.md, and example READMEs.
  • Wires script/check-init-fastcgiweb-parity.sh into ci-fast via INIT_FASTCGIWEB_PARITY_GATE=1 (default on).

Test plan

  • ./script/check-init-fastcgiweb-parity.sh
  • vendor/bin/phpunit test/unit/PhpcInitFastcgiwebTest.php
  • vendor/bin/phpunit test/unit/CiScriptsTest.php --filter Fastcgiweb
  • vendor/bin/phpunit test/unit/PhpcDoctorTest.php --filter testDoctorGates
  • ./phpc init --profile fastcgiweb /tmp/fcgi-test && ./phpc lint /tmp/fcgi-test/example.php (Docker)

Closes #2342

Made with Cursor

Mirror examples/009-FastCGIWeb in templates/init-fastcgiweb with parity
check wired into ci-fast (INIT_FASTCGIWEB_PARITY_GATE default on).

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur
PurHur merged commit b819dcf into master May 26, 2026
@PurHur
PurHur deleted the issue-2342-fastcgiweb-init-profile branch May 26, 2026 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DevEx: phpc init --profile fastcgiweb scaffold (parity with 009-FastCGIWeb)

1 participant