Skip to content

Add Laravel Cloud CLI Tool - #1106

Merged
shivammathur merged 2 commits into
shivammathur:mainfrom
damiantw:laravel-cloud
Aug 12, 2026
Merged

shivammathur merged 2 commits into
shivammathur:mainfrom
damiantw:laravel-cloud

Conversation

@damiantw

Copy link
Copy Markdown
Contributor

Summary
Adds support for the Laravel Cloud CLI (https://cloud.laravel.com/docs/api/cli) to the tools input. Users can now install it with laravel-cloud or cloud-cli, with optional version pinning.

- uses: shivammathur/setup-php@v2
  with:
    tools: laravel-cloud          # or: cloud-cli
    # tools: cloud-cli:0.5.0      # pinned version

The package is installed globally via Composer in a scoped directory (laravel/cloud-cli), mirroring the existing vapor-cli setup. Both the cloud binary and a cloud-cli alias are placed on PATH.

@damiantw
damiantw requested a review from shivammathur as a code owner August 11, 2026 19:43

@shivammathur shivammathur left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix the required extensions. Only extensions that are required by the Cloud CLI and may be disabled or unavailable by default should be added. Use dom, iconv, sockets, and tokenizer on Unix, and only sockets on Windows. curl, mbstring, and openssl are already handled by the Composer-tool installer; the remaining requirements are static or preserved.

Comment thread src/scripts/tools/add_tools.ps1 Outdated
Comment thread src/scripts/tools/add_tools.sh Outdated
@damiantw

Copy link
Copy Markdown
Contributor Author

Done!

@codecov

codecov Bot commented Aug 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (19bc37c) to head (41ca0d7).

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #1106   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            8         8           
  Lines          942       942           
  Branches       330       330           
=========================================
  Hits           942       942           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@shivammathur
shivammathur merged commit 7d04f5e into shivammathur:main Aug 12, 2026
70 checks passed
@shivammathur

Copy link
Copy Markdown
Owner

@damiantw Thanks!

This branch was previously deployed

1 inactive deployment
codecov — 41ca0d74 Deployed Aug 12, 2026 by damiantw via Run (macos-latest) #1108
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants