PHPackages                             oxphp/runtime - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. oxphp/runtime

ActiveLibrary[Queues &amp; Workers](/categories/queues)

oxphp/runtime
=============

OxPHP runtime adapter — run Symfony, Laravel and PSR-15 apps on the OxPHP server, in traditional and worker mode.

v0.2.0(4w ago)05MITPHPPHP &gt;=8.4

Since Apr 25Pushed 2mo agoCompare

[ Source](https://github.com/oxphp/runtime)[ Packagist](https://packagist.org/packages/oxphp/runtime)[ RSS](/packages/oxphp-runtime/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (3)Dependencies (17)Versions (4)Used By (0)

oxphp/runtime
=============

[](#oxphpruntime)

OxPHP runtime adapter — run **Symfony**, **Laravel** and **PSR-15** applications on the [OxPHP](https://github.com/oxphp/oxphp) server in both traditional and worker mode.

Extends [`symfony/runtime`](https://github.com/symfony/runtime). Zero hard dependencies on any framework or PSR-7 implementation — everything is auto-detected when the container is resolved.

Requirements
------------

[](#requirements)

- PHP **8.4+**
- OxPHP server (for production use; the runtime transparently falls back to `symfony/runtime` defaults when not running under the OxPHP SAPI)
- `symfony/runtime` `^6.4 || ^7.0`

Installation
------------

[](#installation)

```
composer require oxphp/runtime
```

Then set the runtime in `.env`:

```
APP_RUNTIME=OxPHP\Runtime\Runtime
```

Your `public/index.php` stays as it would be under `symfony/runtime`:

```
