stackless-laravel-cloud (ARCHITECTURE.md §4): the Laravel Cloud substrate.
Stripe Projects provisions laravel_cloud/application and tracks spend; the
Laravel Cloud JSON:API fills its gaps — resolve the environment, trigger a
deploy, poll to deployment.succeeded, and the health wait. One long-lived
Stripe project per stack holds each instance as a named environment.
Credential model
Provisioning returns a Stripe-managed app_id. Deploy-time API calls use
LARAVEL_CLOUD_API_TOKEN from the Stripe instance environment when present,
otherwise the operator token (LARAVEL_CLOUD_API_TOKEN env / secrets /
.laravel-cloud-token). Observe/destroy key off the Stripe resource
registration, not the Laravel Cloud API.
Deploy paths and cloud invariants
- Git deploy: Laravel Cloud builds from the repository configured at
provision time (
[services.X.laravel-cloud].repository);starttriggers POST/environments/{id}/deploymentsand polls until success. - Cloud resource names are
{stack}-{instance}-{service}— DNS-safe. - Setup is skipped on cloud; prepare runs on the operator's machine.
- Source override is unsupported — Laravel Cloud deploys committed refs.