The Craft 6 beta is out. Learn what's new and how Craft 6 works on Laravel. Explore Craft 6

Provisioning Laravel Cloud from Claude

In this video I drive Laravel Cloud from Claude Code through @craftquest/laravel-cloud, a published, open swamp extension. No dashboard clicking, no improvised API calls: every action runs through typed, inspectable automation with confirmation gates the AI can't bypass.

Claude Code can pro­vi­sion, deploy, and tear down a com­plete Lar­avel Cloud stack from a plain-lan­guage prompt when it works through Swamp, a deter­min­is­tic automa­tion tool for AI agents. Using a Swamp exten­sion that wraps the Lar­avel Cloud API, this les­son takes a demo Lar­avel app from an emp­ty Lar­avel Cloud account to a run­ning pro­duc­tion envi­ron­ment with a MySQL data­base, a Valkey cache, an object stor­age buck­et, and a queue, then checks the cost and removes every­thing. It’s for Lar­avel devel­op­ers who want AI-dri­ven infra­struc­ture work that stays repeat­able instead of improvised.

What you’ll learn #

  • Set up a Swamp repo and pull in the Lar­avel Cloud exten­sion, with its mod­els, work­flows, and skill file
  • Store a Lar­avel Cloud API token in a local Swamp vault so secrets are ref­er­enced, not past­ed into Claude Code
  • Prompt Claude Code to pro­vi­sion an app, envi­ron­ment, data­base, cache, buck­et, and queue, and answer its siz­ing and region questions
  • Diag­nose a failed first deploy caused by an unneed­ed man­aged queue, then remove it and redeploy
  • Ask for account usage and cost through the extension’s report­ing methods
  • Run a full tear­down with con­fir­ma­tion gates on every destruc­tive delete, and ver­i­fy noth­ing bill­able is left

Chap­ters #

  • 0:00 One-sen­­tence deploys with Swamp
  • 1:36 Set­ting up a Swamp repo
  • 3:13 Pulling the Lar­avel Cloud exten­sion and skill
  • 5:23 Stor­ing secrets in a Swamp vault
  • 7:29 Pro­vi­sion­ing resources from Claude Code
  • 14:30 Fix­ing the first deploy
  • 19:22 Check­ing Lar­avel Cloud costs
  • 20:56 Tear­ing every­thing down

Transcript

Premium

Follow along with the full transcript

Search every word, click any line to jump to that moment, and read along as you watch. A CraftQuest Premium feature.

Sign up for Premium