Skip to content

Move all packages from require to require-dev to avoid conflicts on installation#144

Merged
joetannenbaum merged 2 commits intomainfrom
installation
Apr 20, 2026
Merged

Move all packages from require to require-dev to avoid conflicts on installation#144
joetannenbaum merged 2 commits intomainfrom
installation

Conversation

@joetannenbaum
Copy link
Copy Markdown
Collaborator

Since the CLI is shipped as a self-contained PHAR, the runtime deps in require were just conflict surface for anyone running composer global require laravel/cloud-cli, a pinned illuminate/* in another global package would block the install even though the PHAR doesn't need the outer vendor at all. Moved everything except php: ^8.2 to require-dev so global installs have nothing left to collide with.

Also added a smoke test to release.sh that runs the freshly-built PHAR before the commit/push: checks the file exists, that --version matches the tag we just built, and that list boots cleanly (which exercises most bundled deps). Any failure aborts before anything is pushed or released.

@joetannenbaum joetannenbaum merged commit a92ed1a into main Apr 20, 2026
4 of 5 checks passed
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.

1 participant