laravel/cloud-cli
Laravel Zero-based CLI to deploy and manage apps on Laravel Cloud from your terminal. OAuth auth, repo linking via GitHub CLI, guided ship/deploy flows, and commands for apps, environments, databases, caches, storage, domains, and more.
laravel-installer or laravel-shift.cloud:app:create, cloud:env:deploy), allowing selective adoption without forcing full migration.composer.json dependencies).gh CLI for OAuth and repo linking may complicate adoption in environments where GitHub CLI isn’t available or preferred (e.g., GitLab-centric teams).~/.config/cloud/config.json) introduces security/permission risks if misconfigured (e.g., leaked tokens in CI). Requires clear documentation for CI/CD use cases.vapor deploy). Requires clear delineation of responsibilities.cloud:env:list, cloud:db:create) in a staging environment.cloud auth:token with service accounts.cloud:env:deploy).gh is already a team standard. If not, assess the effort to onboard it (e.g., brew install gh on macOS, apt-get install gh on Linux).gh CLI for all developers.cloud-cli globally or via project alias.cloud repo:config for key projects.cloud auth) and basic commands (cloud:app:list).cloud:env:deploy to deployment pipelines.composer.json for updates to laravel/cloud-cli and Laravel Cloud’s PHP SDK.composer.lock for CI stability.~/.config/cloud/config.json management (e.g., use a config management tool like Ansible for team-wide token sync).gh CLI or browser redirects).cloud:env:deploy vs. vapor deploy).cloud --verbose).cloud auth:token --force).CI_CD_GUIDE.md with token management best practices.cloud:env:list).--account-id flags). Document this early.| Failure Scenario | Impact | Mitigation |
|---|---|---|
| OAuth token expiration | Broken CI/CD pipelines | Automate token refresh via cloud auth:token. |
| Laravel Cloud API outage | Unavailable deployments | Implement retry logic with exponential backoff. |
Misconfigured gh CLI |
Authentication failures | Validate gh auth status in CI pre-steps. |
| Permission errors (e.g., no DB access) | Deployments blocked | Audit Laravel Cloud API scopes and roles. |
| Shell alias issues | CLI inaccessible | Use global Composer install as fallback. |
| API rate limits | Slow operations | Add rate-limit headers or implement caching. |
cloud auth).cloud:env:deploy, cloud:db:create).How can I help you explore Laravel packages today?