Registry / networking / stack-callable-http-kernel

stack-callable-http-kernel

JSON →
library1.0.1phppackagistunverified

HttpKernelInterface implementation based on callables.

composer require stack/callable-http-kernel
INSTALL
IMPORT
SIG · STACK-CALLABLE-HTT
S
stack-callable-http-kernel
networkingphpv1.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CallableHttpKernel
use Stack\CallableHttpKernel;

Create an HTTP kernel from a callable for simple request handling.

use Stack\CallableHttpKernel; $kernel = new CallableHttpKernel(function ($request) { return new Response('Hello'); }); $response = $kernel->handle($request);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
OpenAI (training)
1
Resources
stack-callable-http-kernel — pip install stack-callable-http-kernel · libregistry