PHP applications

Deploy generic PHP projects (not Laravel-specific) with Composer support (runtime_kind: php_app).

Web root

Set output / public directory to the folder that should be exposed at the site root—often public or web depending on your skeleton.

Composer

You can enable Composer installation on the host before the container image is built so vendor dependencies are present. Disable if you vendor dependencies or use a different workflow.

Health checks

PHP containers allow JSON or simple text health endpoints—configure a path that returns 200 when PHP and extensions are ready.

For full-stack Laravel conventions (queues, artisan lifecycle), prefer the Laravel runtime so the pipeline applies the right defaults. Laravel.

See also