The Recommended folder structure for php functions is as follows:
├── handler.php
├── composer.json (not necessary if you do not need dependencies)
└── serverless.ymlYour serverless.yml can then look something like this:
provider:
runtime: php82
functions:
main:
handler: "handler"You can find more PHP examples in the examples folder.