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

ActiveLibrary[Framework](/categories/framework)

sormagec/roadrunner-laravel
===========================

RoadRunner bridge for Laravel applications

1.2(7y ago)1229MITPHPPHP &gt;=7.0

Since May 10Pushed 7y ago1 watchersCompare

[ Source](https://github.com/bsormagec/roadrunner-laravel)[ Packagist](https://packagist.org/packages/sormagec/roadrunner-laravel)[ RSS](/packages/sormagec-roadrunner-laravel/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (13)Versions (3)Used By (0)

 [![Laravel](https://camo.githubusercontent.com/640c3d52b2764f179ef3cf089b604516a8c4ac0a06f055a46c6a7fce9428b787/68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d6c61726176656c2e737667)](https://camo.githubusercontent.com/640c3d52b2764f179ef3cf089b604516a8c4ac0a06f055a46c6a7fce9428b787/68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d6c61726176656c2e737667)

Install
-------

[](#install)

Require this package with composer using the following command:

```
$ composer require sormagec/roadrunner-laravel "^1.1"
```

> Installed `composer` is required (\[how to install composer\]\[getcomposer\]).

> You need to fix the major version of package.

After that you can optionally "publish" default RoadRunner configuration files into your application root directory using next command:

```
$ php ./artisan vendor:publish --provider='Sormagec\RoadRunnerLaravel\ServiceProvider' --tag=rr-config
```

If you wants to disable package service-provider auto discover, just add into your `composer.json` next lines:

```
{
    "extra": {
        "laravel": {
            "dont-discover": ["sormagec/roadrunner-laravel"]
        }
    }
}
```

Usage
-----

[](#usage)

This package allows you to use "production ready" worker for RoadRunner, that you can extend as you want.

Out of the box it supports next run parameters:

NameDescription`--(not-)force-https`Force (or not) `https` schema usage (eg. for links generation)`--(not-)reset-db-connections`Drop (or not) database connections after incoming request serving`--(not-)reset-redis-connections`Drop (or not) Redis connections after incoming request serving`--(not-)refresh-app`Force refresh application instance after incoming request serving`--(not-)inject-stats-into-request`Inject into each `Request` object macros `::getTimestamp()` and `::getAllocatedMemory()` that returns timestamp and used allocated memory size`--not-fix-symfony-file-validation`Do **not** fix `isValid` method in `\Symfony\Component\HttpFoundation\File\UploadedFile` \[#10\]> Parameters should be declared in RR configuration file (eg. `./.rr.local.yml`) in `http.workers.command`, eg. `php ./vendor/bin/rr-worker --some-parameter`

Also you can use next environment variables:

Environment nameDescription`APP_BASE_PATH`Base path to the application`APP_BOOTSTRAP_PATH`Path to the application bootstrap file *(default: `/bootstrap/app.php`)*`APP_FORCE_HTTPS`Force `https` schema usage (eg. for links generation)### Additional HTTP-headers

[](#additional-http-headers)

For forcing `https` schema usage you can pass special HTTP header `FORCE-HTTPS` with any non-empty value.

### Extending

[](#extending)

You can extend this worker as you wish, for more information - "Look into the sources, Luke!".

### Testing

[](#testing)

For package testing we use `phpunit` framework. Just write into your terminal *(installed `docker-ce` is required)*:

```
$ git clone git@github.com:avto-dev/roadrunner-laravel.git ./roadrunner-laravel && cd $_
$ make install
$ make test
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2560d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/46748527?v=4)[sormagec](/maintainers/sormagec)[@sormagec](https://github.com/sormagec)

---

Tags

laravelroadrunnerBridge

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/sormagec-roadrunner-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/sormagec-roadrunner-laravel/health.svg)](https://phpackages.com/packages/sormagec-roadrunner-laravel)
```

###  Alternatives

[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k25.9M107](/packages/laravel-cashier)[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k96.9M674](/packages/laravel-socialite)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

71510.9M66](/packages/laravel-mcp)[laravel/scout

Laravel Scout provides a driver based solution to searching your Eloquent models.

1.7k49.4M479](/packages/laravel-scout)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
