News

Manage Laravel Cloud from the Terminal with the New Cloud CLI

Published
Manage Laravel Cloud from the Terminal with the New Cloud CLI image

Laravel has released a CLI for Laravel Cloud, giving you a streamlined way to deploy and manage applications directly from the terminal.

Built with Laravel Zero, the Laravel Cloud CLI provides a familiar command-line experience for handling common Cloud tasks without needing to switch to the browser.

Key Features

The CLI covers a wide range of Laravel Cloud functionality, including:

  • Application and environment management
  • Guided deployments with cloud ship
  • Standard deployments via cloud deploy
  • Repository configuration with cloud repo:config
  • Database and cache management
  • Domain and infrastructure controls
  • Remote command execution
  • JSON output support for scripting and automation

After authenticating with cloud auth, you can link your local repository to a Cloud application and avoid repeatedly passing app and environment options.

Built for Automation and Daily Workflows

Many commands support a --json flag, making the CLI useful for scripting, CI workflows, and automation. Whether you are deploying updates, running commands, or inspecting environments, the tool is designed to fit naturally into existing developer workflows.

Authentication is handled via browser-based OAuth, with token support available for non-interactive environments.

Example Commands

cloud auth
cloud repo:config
cloud ship
cloud deploy
cloud application:list --json
cloud command:run env_123 "php artisan migrate" --json
cloud database:open

From zero to deployed in 5 minutes

Read More

You can explore the project and installation instructions on GitHub or the official docs.

Eric L. Barnes photo

Eric is the creator of Laravel News and has been covering Laravel since 2012.

Sponsored

acquaintsoft logo
Acquaint Softtech

Hire Laravel developers with AI expertise at $20/hr. Get started in 48 hours.

Visit Acquaint Softtech

The latest

View all →
Volker Dusch on the PHP RCE Vulnerabilities and Disclosure image

Volker Dusch on the PHP RCE Vulnerabilities and Disclosure

Read article
Decide with Jev: Turn AI Answers into Decisions with PHP Rules image

Decide with Jev: Turn AI Answers into Decisions with PHP Rules

Read article
Skuul: Open-Source School Management Built on Laravel image

Skuul: Open-Source School Management Built on Laravel

Read article
Laravel Read Replicas: Prevent Stale Reads After a Write image

Laravel Read Replicas: Prevent Stale Reads After a Write

Read article
Screenshot: Capture Images and PDFs with PHP and Laravel image

Screenshot: Capture Images and PDFs with PHP and Laravel

Read article
Reset Sticky Database Connections Between Laravel Queue Jobs image

Reset Sticky Database Connections Between Laravel Queue Jobs

Read article