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 authcloud repo:configcloud shipcloud deploycloud application:list --jsoncloud command:run env_123 "php artisan migrate" --jsoncloud 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.