Release notes
First release of the Symfony Runtime for Scaleway Serverless Functions.
Features
- Runs Symfony and PHP applications on the Scaleway PHP runtime (PHP 8.4+, Symfony 7.4 and 8.x).
- Supports several Front Controller types: HttpKernel, Response, PSR-15 request handler, Console Application or Command (
bin/console), and raw callable. - Keeps the process warm: the Application boots once per process, services are reset between Invocations, and a failed boot is retried.
- Converts Events to Requests and Responses to Function Responses, including cookies, binary bodies, streamed responses and
multipart/form-datauploads. - Runs console commands from CRON triggers, authenticated by
SCALEWAY_CRON_SECRETand refused on Events from HTTP calls. - Handles headers securely: it trusts only
X-Forwarded-Proto, takes the client IP fromX-Real-Ip, drops headers containing underscores, and takes the host from thehostoption (SCALEWAY_HOST). - Defaults to the
prodenvironment and keeps exception details out of deployed error pages. - Falls back to
/tmpfor the cache and log directories on the read-only filesystem.
Tooling
vendor/bin/scaleway-initwrites thehandler.phpstub.vendor/bin/scaleway-packagebuilds the deployment zip (sources,composer.jsonandcomposer.lock); Scaleway installs the dependencies.vendor/bin/scaleway-serveruns a local Emulator that builds platform-shaped Events and simulates CRON triggers onPOST /_scaleway/cron.
See the README for installation, deployment with Terraform, and the platform facts this runtime relies on.