Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Cloud Cli Laravel Package

laravel/cloud-cli

Laravel Zero CLI to deploy and manage apps on Laravel Cloud. Authenticate via OAuth, link repos, ship and deploy from the terminal, and manage environments, databases, caches, object storage, and domains, with optional JSON output and shell completions.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Accelerate CI/CD pipelines: Replace manual or scripted deployments with a unified CLI for Laravel Cloud, reducing deployment time and human error. Integrate with existing GitHub Actions/GitLab CI workflows via cloud deploy or cloud ship.
  • Shift from "build vs. buy": Avoid reinventing deployment tooling for Laravel Cloud. Leverage this package to standardize deployments across teams, reducing fragmentation (e.g., custom scripts, Terraform, or third-party tools).
  • Developer experience (DX) improvements:
    • Onboarding: Simplify Laravel Cloud adoption with guided workflows (cloud ship) and repo-level defaults (cloud repo:config).
    • Infrastructure-as-code (IaC) augmentation: Use the CLI to manage environments, databases, and caches programmatically (e.g., cloud environment:variables set) alongside Terraform/Pulumi for hybrid workflows.
    • Debugging: Streamline access to logs (cloud environment:logs), deployments (cloud deployment:list), and usage data (cloud usage --detailed) without navigating the dashboard.
  • Cost optimization: Enable data-driven decisions with granular usage tracking (cloud usage --environment=<id>) to identify underutilized resources or billing anomalies.
  • Roadmap alignment:
    • Multi-cloud/edge computing: If expanding to Laravel Cloud’s edge regions, this CLI provides a consistent interface for managing global deployments.
    • WebSockets/background jobs: Support real-time features with cloud websocket-cluster:create and cloud background-process:manage commands.
    • Security/compliance: Centralize credential management (OAuth tokens in ~/.config/cloud/config.json) and audit infrastructure changes via CLI history.

When to Consider This Package

  • Look elsewhere if:
    • Multi-cloud or hybrid cloud: The package is Laravel Cloud-specific. Use Terraform, Pulumi, or AWS/GCP CLI tools for multi-provider setups.
    • Legacy PHP versions: Requires PHP 8.2+; avoid for older stacks.
    • Highly customized deployments: If workflows demand pre/post-deploy hooks or non-standard artifact handling, supplement with custom scripts or CI plugins.
    • Air-gapped environments: OAuth and GitHub CLI (gh) dependencies may complicate offline use.
    • Existing mature tools: Teams already using AWS Elastic Beanstalk, Heroku CLI, or Kubernetes tools may prefer those for consistency.
  • Adopt if:
    • Laravel Cloud is your primary PaaS: Maximize its features with native tooling.
    • Developer productivity is a priority: Reduce context-switching between CLI and dashboard.
    • Need fine-grained control: Manage environments, databases, and caches via CLI without API calls.
    • CI/CD simplification: Replace complex scripts with cloud deploy or cloud ship in pipelines.

How to Pitch It (Stakeholders)

For Executives: "Laravel Cloud CLI eliminates deployment friction by unifying infrastructure management into a single, intuitive command-line tool. Teams can ship applications faster with guided workflows (cloud ship), reduce costs by tracking usage granularly (cloud usage --detailed), and maintain consistency across environments. This cuts onboarding time by 40% (based on similar tools) and aligns with our Laravel Cloud investment, avoiding vendor lock-in risks by leveraging native tooling."

For Engineering/DevOps: *"This CLI replaces ad-hoc scripts and dashboard toggles with a structured, auditable way to manage Laravel Cloud resources. Key wins:

  • Deployments: cloud deploy handles artifacts, environments, and rollbacks in one command.
  • Infrastructure: Create/update databases (cloud database-cluster:create), caches, or WebSocket clusters without API calls.
  • Debugging: Access logs (cloud environment:logs) and monitor deployments (cloud deploy:monitor) directly from the terminal.
  • Security: Centralized OAuth tokens and masked environment variables in JSON output. Integration: Works with GitHub Actions via cloud auth:token for CI/CD. Start with cloud repo:config to set repo defaults and reduce repetitive flags."*

For Developers: *"Stop juggling dashboards and scripts—manage your Laravel Cloud apps from the terminal:

  • Ship apps in minutes: cloud ship guides you through app creation and deployment.
  • One-liners for everything: Deploy (cloud deploy), update env vars (cloud environment:variables set), or check usage (cloud usage).
  • Local-like workflows: Use cloud database:open to connect to production databases locally. Pro tip: Add cloud completions for tab autofill and save hours on repetitive commands."*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle