PHPackages                             bckp/roadrunner - 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. bckp/roadrunner

ActiveLibrary

bckp/roadrunner
===============

Integration of Nette Framework into RoadRunner

v0.1.2(4y ago)583[1 issues](https://github.com/HonkLegion/roadrunner/issues)BSD-3-ClausePHPPHP &gt;=8 &lt;8.2

Since Mar 15Pushed 2y ago1 watchersCompare

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

READMEChangelogDependencies (13)Versions (6)Used By (0)

MallGroup/Roadrunner
====================

[](#mallgrouproadrunner)

[![build](https://github.com/bckp/roadrunner/actions/workflows/main.yml/badge.svg)](https://github.com/bckp/roadrunner/actions/workflows/main.yml)[![Coverage Status](https://camo.githubusercontent.com/4c3c8c6a7a6d29b610c7626aa5b06d441e1e4facef485982c12c92460f03ecd4/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f62636b702f726f616472756e6e65722f62616467652e7376673f6272616e63683d6d61696e)](https://coveralls.io/github/bckp/roadrunner?branch=main)[![Downloads this Month](https://camo.githubusercontent.com/76a0b6224495ae3962c6d574876757fe48b98d1132baabcee4f9aa1d877ed4bb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f62636b702f726f616472756e6e65722e737667)](https://packagist.org/packages/bckp/roadrunner)[![Latest stable](https://camo.githubusercontent.com/7d08f704faf8049d914844b6905a9b454a76a16c4c16e312b07daadfc4f52229/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62636b702f726f616472756e6e65722e737667)](https://packagist.org/packages/bckp/roadrunner)[![Coverage Status](https://camo.githubusercontent.com/baefab7b7acaa932859e5445bbc1bc1e9acb2e19a8289dd01551f8271c1ffb1e/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f62636b702f726f616472756e6e65722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/bckp/roadrunner?branch=master)[![License](https://camo.githubusercontent.com/fa7d5fcf2c84b580327af52da95dd751703af65f079dc3c5a0081beac0789718/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4e65772532304253442d626c75652e737667)](https://github.com/bckp/roadrunner/blob/master/license.md)

Integration of [RoadRunner](https://roadrunner.dev) into Nette Framework

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

[](#installation)

The best way to install Bckp/Roadrunner is using [Composer](http://getcomposer.org/):

```
$ composer require bckp/roadrunner
```

Then you need to create small update to your app.

### Configure app

[](#configure-app)

Create new RR config, in our case it is roadrunner.neon

```
extensions:
    roadrunner: Bckp\RoadRunner\DI\Extension

roadrunner:
    showExceptions: %debugMode%
```

Then we need to update our bootstrap, as RR extension is still big WIP, it is recomended not to enable debug mode. So in current Bootstrap we create new static method for booting into RR plugin

```
public static function bootRR(string $appDir): Configurator
{
    $configurator = new Configurator;

	$configurator->setTimeZone('Europe/Prague');
	$configurator->setTempDirectory($appDir . '/temp');

	$configurator->createRobotLoader()
		->addDirectory(__DIR__)
		->register();

	$configurator->addConfig($appDir . '/config/common.neon');
	$configurator->addConfig($appDir . '/config/services.neon');
	$configurator->addConfig($appDir . '/config/local.neon');
	$configurator->addConfig($appDir . '/config/roadrunner.neon');

	return $configurator;
}
```

And finally, we need our entrypoint that will be runned by RoadRunner, we call this script a roadrunner.php

```
