Skip to main content

PHP SDK developer guide

Build Temporal Applications with the PHP SDK.

Core Application

Use the essential components of a Temporal Application (Workflows, Activities, and Workers) to build and run a Temporal application.

Temporal Client

Connect to a Temporal Service and start a Workflow Execution.

Testing

Set up the testing suite to test Workflows and Activities.

Failure detection

Explore how your application can detect failures using timeouts and automatically attempt to mitigate them with retries.

Workflow message passing

Send messages to read the state of Workflow Executions.

Interrupt a Workflow feature guide

Interrupt a Workflow Execution with a Cancel or Terminate action.

Versioning

The PHP SDK Versioning developer guide shows how to change Workflow Definitions without causing non-deterministic behavior in current long-running Workflows.

Asynchronous Activity Completion

Complete Activities asynchronously.

Observability

Configure and use the Temporal Observability APIs.

Debugging

Explore various ways to debug your application.

Schedules

Run Workflows on a schedule and delay the start of a Workflow.

Durable Timers

Use Timers to make a Workflow Execution pause or "sleep" for seconds, minutes, days, months, or years.

Child Workflows

Explore how to spawn a Child Workflow Execution and handle Child Workflow Events.

Continue-As-New

Continue the Workflow Execution with a new Workflow Execution using the same Workflow ID.

Side Effects

Use Side Effects in Workflows.