Skip to content

Releases: KonstantinKai/proto-php-plugin

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 26 Aug 11:11

Breaking

  • Requires proto >= 0.56.0. Older versions do not send the working_dir context field the plugin now expects.

Fixes

  • Fixed the missing field tool_dir error on recent proto releases, which removed the deprecated tool_dir field from the unresolved plugin context.

Improvements

  • Updated to proto_pdk 0.35, proto_pdk_test_utils 0.49, and schematic 0.20.
  • Replaced the removed VirtualPath::real_path with to_real_path, which now returns a Result of an optional RealPath.
  • Filled in the new BuildInstructionsOutput.http_headers field via the struct default.

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 25 Feb 15:50

What's Changed

  • spc as primary build-from-source method — PHP 8.x builds now use static-php-cli (spc) to produce fully-static binaries with configurable extensions and SAPI support. PHP 7.x and custom configure-opts fall back to traditional php.net configure/make.
  • extensions config option — customize the extension list for spc source builds (defaults to the 37 extensions matching prebuilt binaries).
  • Fix VirtualPath issue — resolved --prefix using virtual WASI path instead of real filesystem path in php.net builds.
  • spc doctor --auto-fix — automatically fixes missing build dependencies during spc builds.
  • Clarified sapi scope — applies to prebuilt binaries and spc source builds; php.net path uses configure-opts instead.

Troubleshooting docs

Added README sections for common build issues:

  • macOS: PHP 7.x OpenSSL 3.x incompatibility
  • macOS: PHP 7.x DNS resolver linking error
  • macOS: PHP 7.x PCRE JIT allocation failure
  • macOS: iconv issue
  • spc: GitHub API rate limit (403)

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 25 Feb 12:15

What's Changed

New: SAPI selection

Install fpm or micro SAPI binaries from static-php-cli instead of only cli:

[tools.php]
sapi = "fpm"

Supported values: cli (default), fpm, micro. Only applies to Linux/macOS prebuilt binaries.

Removed: Checksum verification

Removed the SHA-256 checksum verification system (releases.json, probe script, weekly update workflow). Maintaining a separate index per version/platform/sapi combination added significant complexity without enough benefit.

Other

  • dist-url template now supports {sapi} placeholder
  • Invalid sapi values produce a clear error message

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 24 Feb 22:02

What's Changed

Releases Index & Checksum Verification

  • download_prebuilt now fetches the releases index to validate that a prebuilt binary exists for the requested version and platform before downloading
  • SHA-256 checksum verification — proto automatically verifies download integrity using checksums from the releases index
  • Helpful error messages when a version or platform is unavailable, with suggestions for nearby versions and the --build flag

Other

  • Added CI, Release, and License badges to README
  • Corrected prebuilt extension list to match static-php-cli source (37 extensions)
  • Updated probe script to compute checksums incrementally

Full Changelog: v0.1.0...v0.2.0

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 24 Feb 20:45

Initial Release

A proto WASM plugin for managing PHP versions using pre-built static binaries.

Features

  • Install PHP versions via proto install php 8.4
  • Pre-built static binaries from static-php-cli (Linux & macOS, x64 & arm64)
  • Windows support via official windows.php.net binaries
  • Build from source fallback using official php.net tarballs (proto install php 8.4 --build)
  • Version detection from .php-version and composer.json (require.php)
  • Configurable ./configure flags for source builds
  • Weekly releases index tracking available prebuilt versions