PHPackages                             waffle-commons/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. [Framework](/categories/framework)
4. /
5. waffle-commons/runtime

ActiveLibrary[Framework](/categories/framework)

waffle-commons/runtime
======================

Runtime component for Waffle framework.

0.1.0-alpha4(4mo ago)12[5 PRs](https://github.com/waffle-commons/runtime/pulls)1MITPHPPHP ^8.5CI passing

Since Nov 25Pushed 3mo agoCompare

[ Source](https://github.com/waffle-commons/runtime)[ Packagist](https://packagist.org/packages/waffle-commons/runtime)[ RSS](/packages/waffle-commons-runtime/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (7)Versions (13)Used By (1)

[![PHP Version Require](https://camo.githubusercontent.com/fa459bf16ce4299deae51683852f93cfcbc00a9d58d54379a7075c382437d5e1/687474703a2f2f706f7365722e707567782e6f72672f776166666c652d636f6d6d6f6e732f72756e74696d652f726571756972652f706870)](https://packagist.org/packages/waffle-commons/runtime)[![PHP CI](https://github.com/waffle-commons/runtime/actions/workflows/main.yml/badge.svg)](https://github.com/waffle-commons/runtime/actions/workflows/main.yml)[![codecov](https://camo.githubusercontent.com/6c5f3741915c8f38bc8263370c4107283bd0408349331211e0e988d7b12b4d2b/68747470733a2f2f636f6465636f762e696f2f67682f776166666c652d636f6d6d6f6e732f72756e74696d652f67726170682f62616467652e7376673f746f6b656e3d64373461633632612d373837322d343033352d386238622d626363336166313939316530)](https://codecov.io/gh/waffle-commons/runtime)[![Latest Stable Version](https://camo.githubusercontent.com/56dfb190e60f6f517aaeeb2e2e6ae6ef253422eec511b74c368e4029cf9ec02a/687474703a2f2f706f7365722e707567782e6f72672f776166666c652d636f6d6d6f6e732f72756e74696d652f76)](https://packagist.org/packages/waffle-commons/runtime)[![Latest Unstable Version](https://camo.githubusercontent.com/64528b794b11d57a5a0a708a5d0d87cf3278371b6fcae678864852d3d301e494/687474703a2f2f706f7365722e707567782e6f72672f776166666c652d636f6d6d6f6e732f72756e74696d652f762f756e737461626c65)](https://packagist.org/packages/waffle-commons/runtime)[![Total Downloads](https://camo.githubusercontent.com/e9ea3263d2b43d29c70159751ea8dba168c98638b8690c388fdbf8c413a7cfa1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f776166666c652d636f6d6d6f6e732f72756e74696d652e737667)](https://packagist.org/packages/waffle-commons/runtime)[![Packagist License](https://camo.githubusercontent.com/c55117fa839e0cb914cf3639915f3b34f8b49047a023e1600cae9734ec8e43b1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f776166666c652d636f6d6d6f6e732f72756e74696d65)](https://github.com/waffle-commons/runtime/blob/main/LICENSE.md)

Waffle Runtime Component
========================

[](#waffle-runtime-component)

The **Waffle Runtime** is the agnostic orchestration layer of the Waffle framework. It is responsible for gluing the **Kernel**, **Request**, and **Response Emitter** together to execute the application lifecycle.

📦 Installation
--------------

[](#-installation)

```
composer require waffle-commons/runtime
```

🚀 Usage
-------

[](#-usage)

The Runtime is typically used in your application's entry point (`public/index.php`).

It requires a fully configured `KernelInterface`, a `ServerRequestInterface`, and a `ResponseEmitterInterface`.

### Example (`public/index.php`)

[](#example-publicindexphp)

```
