PHPackages                             el7cosmos/drupal-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. el7cosmos/drupal-runtime

ActiveLibrary[Framework](/categories/framework)

el7cosmos/drupal-runtime
========================

Drupal integration with Symfony Runtime

2.1.0(1y ago)5137GPL-2.0-or-laterPHPPHP &gt;=8.1.0

Since Feb 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/el7cosmos/drupal-runtime)[ Packagist](https://packagist.org/packages/el7cosmos/drupal-runtime)[ Patreon](https://www.patreon.com/el7cosmos)[ RSS](/packages/el7cosmos-drupal-runtime/feed)WikiDiscussions 2.x Synced 1mo ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

Drupal Runtime
==============

[](#drupal-runtime)

Integrates Drupal with [Symfony Runtime](https://symfony.com/doc/current/components/runtime.html).

> The Runtime Component decouples the bootstrapping logic from any global state to make sure the application can run with runtimes like PHP-FPM, ReactPHP, Swoole, etc. without any changes.

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

[](#installation)

If using `composer>=2.2`

```
composer config allow-plugins.symfony/runtime 1
```

### Add drupal scaffold config

[](#add-drupal-scaffold-config)

```
composer config --json --merge extra.drupal-scaffold.allowed-packages '["el7cosmos/drupal-runtime"]'
```

### Add symfony runtime template

[](#add-symfony-runtime-template)

```
composer config extra.runtime.autoload_template vendor/el7cosmos/drupal-runtime/assets/autoload_runtime.template
```

### Require this package

[](#require-this-package)

```
composer require el7cosmos/drupal-runtime
```

Your `composer.json` should now be something like this:

```
{
  "config": {
    "allow-plugins": {
      "symfony/runtime": true
    }
  },
  "extra": {
    "drupal-scaffold": {
      "allowed-packages": [
        "el7cosmos/drupal-runtime"
      ]
    },
    "runtime": {
      "autoload_template": "vendor/el7cosmos/drupal-runtime/assets/autoload_runtime.template"
    }
  }
}
```

You can also manually edit `composer.json` to match the above example.

Usage
-----

[](#usage)

Composer will automatically scaffold following files to use Symfony Runtime:

- `[web-root]/index.php`
- `[web-root]/update.php`

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~306 days

Total

4

Last Release

636d ago

Major Versions

1.0.x-dev → 2.0.02024-04-06

PHP version history (2 changes)1.0.x-devPHP &gt;=7.4.0

2.0.0PHP &gt;=8.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4fcf132fc6b93506425f90acae0d8ead069d2204ec85a657282f9799ca735687?d=identicon)[el7cosmos](/maintainers/el7cosmos)

---

Top Contributors

[![el7cosmos](https://avatars.githubusercontent.com/u/284115?v=4)](https://github.com/el7cosmos "el7cosmos (7 commits)")

### Embed Badge

![Health badge](/badges/el7cosmos-drupal-runtime/health.svg)

```
[![Health](https://phpackages.com/badges/el7cosmos-drupal-runtime/health.svg)](https://phpackages.com/packages/el7cosmos-drupal-runtime)
```

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[symfony/symfony-demo

Symfony Demo Application

2.6k238.8k](/packages/symfony-symfony-demo)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6939.5M340](/packages/drupal-core-recommended)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M385](/packages/shopware-core)[oro/platform

Business Application Platform (BAP)

644134.8k84](/packages/oro-platform)[sylius/sylius-standard

Starting point for projects powered by Sylius eCommerce.

271291.3k](/packages/sylius-sylius-standard)

PHPackages © 2026

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