Download the PHP package nexus-actors/http without Composer
On this page you can find all versions of the php package nexus-actors/http. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nexus-actors/http
More information about nexus-actors/http
Files in nexus-actors/http
Package http
Short Description Nexus HTTP framework — PSR-15 pipeline with actor injection.
License MIT
Informations about the package http
nexus-http
PSR-15 HTTP framework on the Nexus actor system. Compile-time pipeline, actor injection via attributes, three lifecycle modes, streaming responses.
Install
Quickstart
Actor injection
Service injection
Handlers and middleware can pull any PSR-11 container service:
Lifecycle modes
| Mode | Where it lives | Use for |
|---|---|---|
poolSingleton() |
One per worker pool (hash-routed) | Stateful aggregates, gateways |
workerLocal() (default) |
One per worker thread | Metric collectors, caches |
perRequestActor() |
Spawned per request, stopped at end | Per-request sagas, behavior switching |
Async / Future handlers
ActorRef::ask returns a Future<R> directly. Sync-style handlers call
->await(); async-style handlers return the Future for the framework to
resolve before serializing the response.
See also
docs/superpowers/specs/2026-06-10-nexus-http-core-design.md— full design.- Section 19 of the spec — API clarifications recorded during implementation.
Repository
Read-only subtree split of nexus-actors/nexus. Report issues and send pull requests to the monorepo — this repository only receives automated pushes and release tags.
All versions of http with dependencies
nexus-actors/core Version ^0.1
nexus-actors/runtime Version ^0.1
nexus-actors/serialization Version ^0.1
nikic/fast-route Version ^1.3
nyholm/psr7 Version ^1.8
psr/container Version ^2.0
psr/event-dispatcher Version ^1.0
psr/http-factory Version ^1.1
psr/http-message Version ^2.0
psr/http-server-handler Version ^1.0
psr/http-server-middleware Version ^1.0
psr/log Version ^3.0
psr/simple-cache Version ^3.0
symfony/uid Version ^8.0