Skip to content

feat(static): allow external static-php-cli registries and spc binaries - #2764

Closed
dunglas wants to merge 1 commit into
mainfrom
feat/spc-registries
Closed

dunglas wants to merge 1 commit into
mainfrom
feat/spc-registries

Conversation

@dunglas

@dunglas dunglas commented Oct 25, 2026

Copy link
Copy Markdown
Member

Third-party and private extensions, including ones shipped as prebuilt archives, can be added to static builds through a static-php-cli external registry. SPC_REGISTRIES is already read by static-php-cli, but it wasn't documented, and it needs a static-php-cli more recent than the nightly binary build-static.sh downloads.

  • Add SPC to select the spc binary or the bin/spc script of a static-php-cli checkout.
  • Document SPC_REGISTRIES in build-static.sh and docs/static.md.

Third-party and private extensions can be added through a static-php-cli
registry: document SPC_REGISTRIES and allow selecting the spc binary with SPC,
since registry support requires a recent static-php-cli.
@dunglas

dunglas commented Oct 25, 2026

Copy link
Copy Markdown
Member Author

Closing: static-php-cli already reads these settings from the environment (SPC_REGISTRIES, and SPC_CMD_VAR_FRANKENPHP_GO_* since crazywhalecc/static-php-cli#1269), and build-static.sh reuses dist/spc, so this isn't needed.

@dunglas dunglas closed this Oct 25, 2026
@dunglas
dunglas deleted the feat/spc-registries branch October 25, 2026 19:10
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