Releases: attitude/phpx-server
Releases · attitude/phpx-server
Release list
v0.1.1 — versioned PHPX dependency
Changed
attitude/phpxis now required as^0.4.1instead ofdev-main. Upstream tags releases now, so consumers no longer need dev-stability requires — andcomposer updatecan no longer jump to unreviewed upstream commits.- Installing in your project drops to a single
requireline:attitude/phpxresolves transitively as a stable release. The two VCSrepositoriesentries 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
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), JSONfetch, andredirect() - 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