Use symfony/runtime for less bespoke bootstrap/compatibility with varied runtime environments

Created on 4 October 2022, about 2 years ago
Updated 18 April 2024, 8 months ago

Problem/Motivation

I think implementing symfony/runtime could help Drupal achieve a number of disparate features/issues, such as #3051459: Replace error and exception handlers with implementation from Symfony ErrorHandler component โ†’ , #2218651: [meta] Make Drupal compatible with persistent app servers like ReactPHP, PHP-PM, PHPFastCGI, FrankenPHP, Swoole โ†’ and more. It also gets Drupal further away from managing its own bootstrapping in favor of Symfony conventions, to which we are already tightly coupled.

Steps to reproduce

Proposed resolution

Implement https://symfony.com/doc/current/components/runtime.html

Remaining tasks

User interface changes

API changes

This would change the default bootstrap, however I believe this could be done in a completely BC-compatible way since the "old" index.php would still work as it does now.

Data model changes

Release notes snippet

โœจ Feature request
Status

Active

Version

11.0 ๐Ÿ”ฅ

Component
Baseย  โ†’

Last updated about 2 hours ago

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States bradjones1 Digital Nomad Life

Live updates comments and jobs are added and updated live.

Missing content requested by

๐Ÿ‡ฆ๐Ÿ‡บAustralia dpi
11 months ago
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024