PHPApp
PHPApp objectrecipestring requiredAllowed values:"""laravel""symfony""composer"doc_rootstring requiredSubfolder IIS serves: public for Laravel and Symfony
writablearray<string> requiredcommandsarray<string> requiredSteps this recipe may run
recipe_commandsmap<string, array<string>> requiredSteps each recipe may run, so a recipe being chosen offers its own before it is saved
after_deployarray<string> requiredschedulerboolean requiredenv_allowedboolean required
Used by
| GET | /api/v1/tenants/{tid}/sites/{id}/php-app | The site's PHP application recipe (Laravel, Symfony, Composer app) and its last jobs (ADR 0099) |
| PUT | /api/v1/tenants/{tid}/sites/{id}/php-app | Choose a recipe (empty removes it), the steps run after a Git deploy, and Laravel's scheduler |
| POST | /api/v1/tenants/{tid}/sites/{id}/php-app/run 202 | Run steps as the site, in order, stopping at the first failure; composer:install or the recipe's allowed commands |