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 /ping

  • Returns a "Pong" message.

Response

Sample 200 Response:

Pong

GET, POST, PUT, PATCH, DELETE /

  • Returns a "Learn More" JSON response.

Response

Sample 200 Response:

{
  "motto": "Build like a team of hundreds_",
  "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.