keepsuit/laravel-temporal
Laravel Temporal integrates the Temporal PHP SDK with Laravel, making it easy to define and register workflows and activities, configure task queues and workers, and run durable background workflows using familiar Laravel configuration and Artisan commands.
Architecture fit
keepsuit/laravel-temporal is a Laravel service-provider wrapper around the official temporal/sdk-php. It gives Laravel-native config (config/temporal.php), workflow/activity registration, artisan generators, and testing helpers on top of Temporal's durable-execution runtime.now(), rand(), HTTP calls) are unsafe inside workflow code, so this package adds a second programming model to the codebase, not just a dependency.Integration feasibility
rr) as a second runtime alongside PHP-FPM. Deployment, CI images, and .rr.yaml config all become new owned artifacts.spatie/laravel-data is absent (PR #79). It is a pure patch — no breaking changes, no deprecations, no new features. Its relevance is that it confirms spatie/laravel-data is an optional dependency and that the package previously had a failure path for teams not using it. That removes a concrete adoption blocker for our stack if we don't standardize on Data objects.Technical risk
Key questions
temporal/sdk-php releases?spatie/laravel-data, what is the serialization story — plain arrays only, or a pluggable custom converter? (2.3.2 implies at least "doesn't crash," not necessarily "fully featured.")TemporalFake cover — full workflow replay, or only activity mocking? Test fidelity determines how much confidence we get pre-prod.Stack fit
Migration path
spatie/laravel-data deliberately, not incidentally. If we adopt it, version the DTOs in a dedicated namespace and treat renames as breaking changes.Compatibility
temporal/sdk-php to exact versions with a documented upgrade cadence; SDK upgrades are the likeliest source of breakage.spatie/laravel-data, boot the app, register a workflow, and confirm no crash — this is the specific regression 2.3.2 addresses.Sequencing
TemporalFake-based tests and a replay/non-determinism check in CI.Maintenance
Support
Scaling
continue-as-new.Failure modes
Ramp-up
How can I help you explore Laravel packages today?