Skip to content

php: Adopt .tool-versions and standardise setup scripts - #171

Open
adamnfish-gu wants to merge 1 commit into
fix/phpfrom
adopt/php
Open

php: Adopt .tool-versions and standardise setup scripts#171
adamnfish-gu wants to merge 1 commit into
fix/phpfrom
adopt/php

Conversation

@adamnfish-gu

@adamnfish-gu adamnfish-gu commented Aug 7, 2026

Copy link
Copy Markdown

script/setup used brew and was interactive and macOS-only, alongside a separate Windows PowerShell script.

script/setup now bootstraps composer locally as composer.phar, using the official installer and verifying the signature against composer.github.io, then installs dependencies. script/test and script/start use that local composer.phar. Drops setup.ps1 and updates the README.

mise builds php from source, which needs system libraries the GitHub runner does not ship. script/system-packages installs them. It runs before the toolchain is built, so it cannot live in script/setup.


Base fix/php (#170), so the diff shows only this branch's changes. Merge #170 first.

Part of #143.

script/setup used brew and was interactive and macOS-only, alongside a
separate Windows PowerShell script.

script/setup now bootstraps composer locally as composer.phar, using the
official installer and verifying the signature against composer.github.io,
then installs dependencies. script/test and script/start use that local
composer.phar. Drops setup.ps1 and updates the README.

mise builds php from source, which needs system libraries the GitHub runner
does not ship. script/system-packages installs them. It runs before the
toolchain is built, so it cannot live in script/setup.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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