FrameworkBundle

The core bundle that wires Symfony's HTTP kernel, routing, DI, and console into a full-stack application

Framework
Composer
vv8.1.7
3,564 stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
88 /100 Excellent
Development Activity 96
Maintenance 96
Community 60
Maturity 60
Momentum 40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
78 /100 Good
Architecture 88
Code Quality 85
Innovation 78
Learning Curve 62

FrameworkBundle is the glue that turns Symfony’s individual components — HttpKernel, Routing, DependencyInjection, Console, and more — into the cohesive “Symfony full-stack framework” that application skeletons like symfony/skeleton and symfony/website-skeleton are built on. It provides the application Kernel, registers the default console commands, cache warmers, and error handling, and exposes the top-level framework: configuration that every Symfony app’s config/packages/framework.yaml targets.

What You Get

  • The application Kernel class and MicroKernelTrait for building single-class Symfony apps
  • Controller resolution and argument-resolving integration between HttpKernel and your controller classes
  • Built-in console commands (cache:clear, debug:router, debug:container, about, etc.) via Command/
  • Cache warmers (CacheWarmer/) that precompute routing, container, and annotation caches for production
  • A DataCollector/profiler integration and a KernelBrowser/Test toolkit for Symfony’s functional testing helpers
  • Centralized framework: YAML/PHP configuration covering HTTP cache, secrets, translation, routing, and session behavior

Common Use Cases

  • Bootstrapping a new full-stack Symfony web application via symfony/skeleton, which depends on FrameworkBundle to provide the Kernel and core services
  • Configuring production performance behavior (HTTP cache, cache warmers, secrets vault) through the single framework: config key
  • Writing functional tests against controllers using the bundle’s KernelBrowser and WebTestCase integration
  • Debugging routing, container services, or configuration via the bundled debug:* console commands

Under The Hood

Architecture — FrameworkBundle.php is the bundle entry point; Kernel/ supplies the MicroKernelTrait that composes routing and container configuration inline for micro-apps, while DependencyInjection/ holds the (very large) Configuration class defining the entire framework: config tree and the compiler passes that wire HttpKernel, Routing, and other components together at container-compile time; Controller/, EventListener/, and ErrorHandler/ integrate controller resolution, kernel request/response events, and error rendering. Tech Stack — PHP 8.4.1+, depending on a wide slice of Symfony 8.1 components (http-kernel, dependency-injection, routing, event-dispatcher, cache, config) with require-dev covering optional integrations (Doctrine persistence, dragonmantank/cron-expression, asset mapper, translation extractors) exercised in CI but not required at runtime. Code Quality — An extensive Tests/ tree mirrors nearly every top-level directory (Kernel, Controller, CacheWarmer, DataCollector, Routing), and the bundle is maintained by 897 contributors with a well-established release/support-window process, evidenced by very active, consistent commit history. API Design — Nearly all app-facing behavior is opt-in/declarative through YAML or PHP config under framework:, keeping the imperative surface (mainly the Kernel/MicroKernelTrait) minimal — a strength for a component this central, though the full configuration surface is large and takes time to learn in depth.

Used by 5 apps in this directory

PHP
63%
Other

BillaBear

Ecommerce · Invoicing Finance

761

Self-hostable subscription management and billing platform with Stripe integration, tax automation, configurable workflows, and Twig-based document generation.

View details
76
Repo Health
66
Technical
65
Dependency
Built with
PHP 63%
Vue 18%
Gherkin 13%
Updated 2 weeks ago
PHP
63%
AGPL 3.0

Hyvor Relay

AI Development · Devops · Monitoring

908

Self-hosted, open-source email API that automates DNS, manages SMTP delivery, and provides deep observability — replacing SES, Mailgun, and SendGrid with infrastructure you fully own.

View details
68
Repo Health
79
Technical
70
Dependency
Built with
PHP 63%
Svelte 23%
Go 11%
Updated 1 weeks ago
PHP
86%
AGPL 3.0

Kimai

Invoicing Finance · Project Management

5,046

Professional open-source time tracking with invoicing, multi-user support, SAML/LDAP auth, and a full REST API—self-host it or use the cloud.

View details
94
Repo Health
78
Technical
64
Dependency
Built with
PHP 86%
Updated 4 days ago
PHP
82%
Other

Mautic

Automation · Ecommerce · Marketing

10,570

The world's largest open source marketing automation platform — own your data, run multi-channel campaigns, and escape vendor lock-in forever.

View details
97
Repo Health
76
Technical
63
Dependency
Built with
PHP 82%
Updated 1 weeks ago
PHP
84%
MIT

wallabag

Bookmarks Archiving

12,989

Self-hosted read-it-later app that saves clean, ad-free articles from any webpage for distraction-free reading across all your devices.

View details
93
Repo Health
81
Technical
59
Dependency
Built with
PHP 84%
Twig 13%
Updated 4 days ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers