Skip to content

Releases: attitude/phpx-server

v0.1.1 — versioned PHPX dependency

Choose a tag to compare

@attitude attitude released this 07 Jul 03:36
1cf7070

Changed

  • attitude/phpx is now required as ^0.4.1 instead of dev-main. Upstream tags releases now, so consumers no longer need dev-stability requires — and composer update can no longer jump to unreviewed upstream commits.
  • Installing in your project drops to a single require line: attitude/phpx resolves transitively as a stable release. The two VCS repositories entries are still needed until the packages are on Packagist. See the install docs.
  • Recompiled the todo example with the v0.4.1 compiler — static attributes now emit single-quoted PHP strings (upstream escaping fix attitude/phpx#38). No semantic changes.

Verified against attitude/phpx v0.4.1

39 tests / 94 assertions green on PHP 8.1, 8.3, and 8.4; PHPStan clean. This release doubles as downstream regression coverage for the upstream renderer, compiler, and parser fixes in phpx v0.4.0–v0.4.1.

v0.1.0 — RSC for PHP, first release

Choose a tag to compare

@attitude attitude released this 07 Jul 00:14
a51517b

The first tagged release of phpx-server: React Server Components ideas ported to PHP with PHPX.

What's in it

  • Server components and a streaming HTML renderer
  • Suspense streaming via PHP Fibers — shell first, nested/parallel boundaries resolve out of order
  • Error boundaries — sync or while streaming
  • Server actions — plain <form> (no JS), JSON fetch, and redirect()
  • Client islands — React mounts into server-rendered markup across a JSON-only boundary
  • Flight navigation — client-driven route changes from a serialized tuple tree, plus a streaming NDJSON variant
  • cache() — per-request memoization
  • Head & metadata hoisting (React 19 style)
  • Router UX — prefetch-on-hover, pending indicator
  • examples/todo — a complete CRUD app exercising all of the above, fully working with JavaScript disabled
  • 39 PHPUnit tests, PHPStan level 5, CI on PHP 8.1 / 8.3 / 8.4

Docs

https://attitude.github.io/phpx-server/ — written for both PHP and React developers, including a full API reference.

Install

See Install in your project — Packagist publication is pending attitude/phpx#39.

🤖 Generated with Claude Code