Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 416 Bytes

File metadata and controls

21 lines (16 loc) · 416 Bytes

PHP

The Recommended folder structure for php functions is as follows:

├── handler.php
├── composer.json (not necessary if you do not need dependencies)
└── serverless.yml

Your 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.