PHPackages                             backbrain/frankenphp-symfony - 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. backbrain/frankenphp-symfony

ActiveLibrary[Framework](/categories/framework)

backbrain/frankenphp-symfony
============================

FrankenPHP runtime for Symfony

v1.0.0(2y ago)053.3k↓59.2%MITPHPPHP &gt;=8.1CI failing

Since Apr 5Pushed 7mo agoCompare

[ Source](https://github.com/BackBrainHQ/frankenphp-symfony)[ Packagist](https://packagist.org/packages/backbrain/frankenphp-symfony)[ GitHub Sponsors](https://github.com/nyholm)[ RSS](/packages/backbrain-frankenphp-symfony/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

FrankenPHP Runtime for Symfony
==============================

[](#frankenphp-runtime-for-symfony)

A runtime for [FrankenPHP](https://frankenphp.dev/).

If you are new to the Symfony Runtime component, read more in the [main readme](https://github.com/php-runtime/runtime).

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

[](#installation)

```
composer require backbrain/frankenphp-symfony

```

Usage
-----

[](#usage)

Define the environment variable `APP_RUNTIME` for your application.

Dotenv Component is executed after Runtime Component, so APP\_RUNTIME must be available in your container.

The `FRANKENPHP_` environment variables are used to configure the runtime. If omitted, the default values are used.

```
docker run \
    -e FRANKENPHP_CONFIG="worker ./public/index.php" \
    -e APP_RUNTIME=Runtime\\FrankenPhpSymfony\\Runtime \
    -e FRANKENPHP_LOOP_MAX=500 \
    -e FRANKENPHP_KERNEL_REBOOT=never \
    -v $PWD:/app \
    -p 80:80 -p 443:443 \
    dunglas/frankenphp

```

```
// public/index.php

use App\Kernel;

require_once dirname(__DIR__).'/vendor/autoload_runtime.php';

return function (array $context) {
    return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};
```

Options
-------

[](#options)

- `frankenphp_loop_max`: the number of requests after which the worker must restart, to prevent weird memory leaks (default to `500`, set to `-1` to never restart)
- `frankenphp_kernel_reboot`: whether the kernel should be rebooted after a request (default to `never`, set to `always` to reboot on each request)

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance45

Moderate activity, may be stable

Popularity29

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Unknown

Total

1

Last Release

819d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/68efa3304624d7906699b6f340f4f42d22c618efbbd5b4f270b21b1661bdafa1?d=identicon)[backbrain.io](/maintainers/backbrain.io)

---

Top Contributors

[![dunglas](https://avatars.githubusercontent.com/u/57224?v=4)](https://github.com/dunglas "dunglas (8 commits)")[![phramz](https://avatars.githubusercontent.com/u/2319696?v=4)](https://github.com/phramz "phramz (4 commits)")[![chalasr](https://avatars.githubusercontent.com/u/7502063?v=4)](https://github.com/chalasr "chalasr (2 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (1 commits)")[![tamcy](https://avatars.githubusercontent.com/u/959433?v=4)](https://github.com/tamcy "tamcy (1 commits)")[![thecaliskan](https://avatars.githubusercontent.com/u/13554944?v=4)](https://github.com/thecaliskan "thecaliskan (1 commits)")[![Yoann-TYT](https://avatars.githubusercontent.com/u/9287634?v=4)](https://github.com/Yoann-TYT "Yoann-TYT (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/backbrain-frankenphp-symfony/health.svg)

```
[![Health](https://phpackages.com/badges/backbrain-frankenphp-symfony/health.svg)](https://phpackages.com/packages/backbrain-frankenphp-symfony)
```

###  Alternatives

[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)

PHPackages © 2026

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