Complete guide to host PHP applications on Discloud.
📁 Preparing Your Project Files
If your project uses Composer, ensure a valid composer.json is at the root of the archive you upload. Discloud will install dependencies automatically when it detects this file.
❌ Files / Directories to Exclude
Exclude items that are not required for runtime:
- vendor/- node_modules/- .git/- tests/- .cache/
📌 Use a .discloudignore file to exclude directories you do not want packed (e.g. vendor/ if you prefer a clean install).
Include vendor/ ONLY if: you have patched libraries locally or you rely on extensions or binaries compiled during install that must match your dev environment. Otherwise excluding it keeps uploads smaller and lets Discloud perform a fresh, reproducible install.