Registry / utility / symfony-runtime

symfony-runtime

JSON →
library8.1.0phppackagistunverified

Enables decoupling PHP applications from global state

composer require symfony/runtime
INSTALL
IMPORT
SIG · SYMFONY-RUNTIME
S
symfony-runtime
utilityphpv8.1.0
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.

SymfonyRuntime
use Symfony\Component\Runtime\SymfonyRuntime;

Run a PHP application with Symfony Runtime

use Symfony\Component\Runtime\SymfonyRuntime; $runtime = new SymfonyRuntime(); $app = $runtime->getRunner(function () { echo 'Hello World'; }); $app->run();
Debug
Known issues
breakingRequires PHP 8.1+ for fibers support
fix
Use PHP 8.1 or later
affects: >=6.0.0
Upgrade
Version history
8.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
symfony-runtime — pip install symfony-runtime · libregistry