Skip to content

3.0.0

Latest

Choose a tag to compare

@crazywhalecc crazywhalecc released this 30 Nov 13:00
· 2 commits to v3 since this release
af35a74

StaticPHP v3 First Release !!!

Community

Join the StaticPHP Discord for release announcements, build help, and extension/library discussion:

https://discord.gg/U8zgX47ER8

Major updates from v2

  • Add registry system for declarative package, artifact, and build-target definitions.
  • Add package model for PHP extensions, libraries, targets, virtual targets, and tools, with dependency resolution and ordered build/install stages.
  • Add artifact abstraction with multiple source types (GitHub releases/tags, PHP releases, file lists, PECL, PIE, Git, custom URLs), checksum validation, caching, and check-update support.
  • Add parallel artifact downloads for significantly faster dependency fetching.
  • Add new toolchain layer with native GCC/Clang, MSVC, and Zig cross-compilation support.
  • Add cross-compilation targets for Linux musl/glibc (including glibc 2.17), macOS, and Windows architectures.
  • Replace the v2 Windows PHP SDK workflow with a managed MSYS2 build environment.
  • Add dynamic target commands such as build:php, build:php-cli, build:php-fpm, build:php-micro, build:frankenphp, and build:curl.
  • Add craft and craft.yml for one-shot, reproducible build configuration.
  • Add new CLI commands including reset, build:libs, install-pkg, check-update, dev:shell, dev:dump-stages, and dev:dump-capabilities.
  • Add Doctor auto-fix and tool provisioning for build-environment setup.
  • Add PHP 8.6 support alongside PHP 8.1–8.5.
  • Rework the build pipeline around package stages, hooks, source syncing, patching, and per-SAPI build logic for CLI, FPM, CGI, micro, embed, and FrankenPHP.
  • Rework CLI options and configuration around the v3 package/artifact model, with a dedicated v2 migration guide.

What's Changed

New Contributors

Full Changelog: 2.8.4...3.0.0