Php
Complete guide to host PHP applications on Discloud.
📁 Preparing Your Project Files
❌ Files / Directories to Exclude
- vendor/
- node_modules/
- .git/
- tests/
- .cache/📦 composer.json Essentials
{
"name": "example/app",
"type": "project",
"require": {
"guzzlehttp/guzzle": "^7.9"
},
"autoload": {
"psr-4": {
"App\\": "src/"
}
},
"scripts": {
"start": "php -S 0.0.0.0:8080 -t public"
}
}🌐 Hosting Websites & APIs
✍️ Deploying Your Application
Last updated