Skip to content

Releases

RestPHP v0.3.0 - Native Windows support

Choose a tag to compare

@github-actions github-actions released this 14 Nov 02:40
4d3d9aa

Native Windows support

RestPHP now runs natively on Windows x64 with official PHP 8.2, 8.3, and 8.4 NTS builds. No WSL or Docker is required for the native CLI and HTTP server.

  • Matching PHP runtime/SDK setup script with SHA-256 verification.
  • Correct Windows DLL imports and canonical script filename handling.
  • Native HTTP, persistent callback workers, graceful Ctrl-C/Ctrl-Break shutdown, and process-safe watch reload.
  • Windows PHP compatibility CI plus release binary and runtime packaging.
  • Linux release builds pinned to Ubuntu 24.04 and the same PHP 8.4 NTS runtime used by compatibility CI.

Implementation: #18

Downloads

  • Windows x64: restphp-windows-x86_64.zip. Extract the entire archive, including restphp.exe, php8.dll, and the matching PHP runtime DLLs. The x64 Visual C++ Redistributable is required. Run .\restphp.exe --version in PowerShell. Rust and PHP development headers are not needed to use this ZIP.
  • Linux x86_64: restphp-linux-x86_64.tar.gz. This executable dynamically links the PHP 8.4 embed runtime; install the matching libphp8.4-embed package. It is built on Ubuntu 24.04, not a fully static executable.
  • macOS: available through source builds with a linkable NTS PHP embed library. This release does not include a prebuilt macOS archive.

Windows instructions: https://github.com/arsyadal/restphp/blob/v0.3.0/docs/guide/windows.md

Compatibility limits

Windows support targets x64 MSVC; Windows ARM64 and x86 are not supported. The php artisan octane:restphp supervisor still requires Unix pcntl and posix extensions. Native persistent callback workers do work on Windows.

See CHANGELOG.md for the complete changes.

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 14:52

What's Changed

  • chore(deps): bump actions/deploy-pages from 4 to 5 by @dependabot[bot] in #10
  • chore(deps): bump actions/setup-node from 4 to 7 by @dependabot[bot] in #11
  • chore(deps): bump actions/upload-pages-artifact from 3 to 5 by @dependabot[bot] in #12
  • Fix Dependabot auto-merge permission handling by @arsyadal in #13
  • chore(deps): update bindgen requirement from 0.69 to 0.73 by @dependabot[bot] in #9
  • fix(sapi): load PHP config and retain diagnostics by @arsyadal in #14
  • feat(runtime)!: add boot-once Octane and TLS by @arsyadal in #16
  • chore(deps): update notify requirement from 6.1 to 8.2 by @dependabot[bot] in #15

New Contributors

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

RestPHP v0.1.0 — Initial Official Release

Choose a tag to compare

@arsyadal arsyadal released this 05 Sep 12:14

RestPHP v0.1.0 — The Blazing-Fast, Persistent Application Server & Runtime for PHP powered by Rust

  • Zero-Cost C-FFI: Direct linkage to Zend Engine C-ABI (extern "C") eliminating ~60ns cgo stack switching.
  • Zero Host GC: Compile-time RAII memory management ensuring rock-solid p99 tail latency without Stop-The-World pauses.
  • Persistent Worker Pool: Dedicated OS worker threads keeping framework code hot in RAM.
  • Bun-Style Zero-Config CLI: Run directly with restphp, restphp app.php, or restphp -e 'code'.
  • Laravel Octane Adapter: Official 1st-class driver package in octane/.
  • Hot Code Reload: Live file watching with --watch flag.
  • Documentation Website: Deployed live at https://arsyadal.github.io/restphp/

SHA256: bfd61996b22c7a828248ac9548f37bde26251c64b60acd6aa129b5a958c216f0

Full Changelog: https://github.com/arsyadal/restphp/commits/v0.1.0