Stagepass CLI 2.4.0 adds an optional PHP 8.2+ starter alongside TypeScript and SCSS workflows, while CLI 2.5.0 changes rate-limit failure handling and proxy detection.
The guide describes a Stagepass workflow for growing Webflow projects: TypeScript handles browser behavior, SCSS structures custom styling, and a small PHP API performs server-side work that Webflow hosting does not execute. The three parts are built and connected to Webflow through the Stagepass development and deployment workflow.
Stagepass CLI 2.4.0 adds an optional PHP starter. It uses plain PHP 8.2 or newer, has no framework or Composer dependency, and does not send email. The starter provides one public action endpoint, an allowlisted action registry, validation helpers, origin checks, honeypot handling and rate limiting. API responses use a consistent JSON shape with status, data and message fields.
The guide recommends browser-side JavaScript or TypeScript for real Webflow forms because it keeps visitors on the page, preserves custom success and error states, and allows PHP changes to be tested locally during a Stagepass session. A direct custom form POST is presented as a simpler first test, but it sends visitors to the API's JSON response and requires deployment or a published Webflow action change for testing.
For projects created with CLI 2.5.0 or later, rate-limit storage failures return HTTP 503 outside local development environments, and forwarded client-address headers are used only when the proxy is listed in TRUSTED_PROXIES. Projects created with CLI 2.4.1 or older retain the earlier fail-open behavior and connection-address handling. The guide also warns that .env files must remain protected from public access and that secrets are excluded from production builds.