Skip to content

Latest commit

 

History

History
 
 

starter

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

⚡ PHP Starter Function

A simple starter function. Edit src/index.php to get started and create something awesome! 🚀

🧰 Usage

GET /

  • Returns a "Hello, World!" message.

Response

Sample 200 Response:

Hello, World!

POST, PUT, PATCH, DELETE /

  • Returns a "Learn More" JSON response.

Response

Sample 200 Response:

{
  "motto": "Build Fast. Scale Big. All in One Place.",
  "learn": "https://appwrite.io/docs",
  "connect": "https://appwrite.io/discord",
  "getInspired": "https://builtwith.appwrite.io"
}

⚙️ Configuration

Setting Value
Runtime PHP (8.0)
Entrypoint src/index.php
Build Commands composer install
Permissions any
Timeout (Seconds) 15

🔒 Environment Variables

No environment variables required.