PHP in the Laravel stack

This page explains what PHP means in the Laravel stack: how it is included, which base service it uses, and how it connects to the rest of the stack.

PHP is included by default and treated as a required part of the Laravel stack.

Role

Required

Base service

PHP (Laravel)

Type

service

Stack fit

How PHP fits into this stack

PHP is included by default and treated as a required part of the Laravel stack.

This stack service is based on PHP (Laravel) and keeps the service-specific setup for Laravel in one place.

It is linked to MariaDB, Valkey, Files NFS storage, and Mailpit inside the stack.

Version policy

This stack service is limited to 8.5, 8.3, 8.4.

Inclusion

Enabled by default: Yes

Required: Yes

Primary: No

Storage

storage: 20 GB

Stack-specific technical details

Review the operational capabilities exposed by PHP inside this stack, including backups, imports, configs, settings, cron, actions, storage, and service links where they exist.

Cron schedules

Run repeatable background jobs with visible schedules and execution details tied to the stack.

Task Scheduler
Schedule: 0 0 * * *. Command: cd "${APP_ROOT}" && php artisan schedule:run.

Actions

Keep one-off and lifecycle commands with the service instead of relying on manual runbooks.

Run migrate
Trigger: post deploy.
Seed database
Trigger: post deploy once.

Volumes

Provision the persistent storage and shared volume relationships the stack expects.

Storage
Size: 10 GB. Shared with Files NFS storage.