awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
symfony avatar

symfony/http-kernel

0
View on GitHub↗
8,121 stele·98 fork-uri·PHP·MIT·2 vizualizărisymfony.com/http-kernel↗

Http Kernel

HttpKernel is the core kernel component of the Symfony framework that orchestrates the complete HTTP request-response lifecycle. It provides an event-driven pipeline that converts an incoming HTTP request into a matching response by dispatching lifecycle events for early interception, controller resolution, error handling, response modification, and deferred tasks.

The kernel automatically resolves the PHP callable that handles a request and injects its arguments using reflection and request attributes. It dispatches attribute-specific events for each PHP attribute found on a controller, enabling targeted listener responses without manual inspection. When exceptions occur during the request cycle, the kernel catches them and dispatches an event for listeners to return custom error responses. It also supports converting non-Response controller return values into proper Response objects through a view event, and allows modification of response headers, cookies, or body content just before sending.

A distinctive capability is the sub-request nesting mechanism, which allows a full request-response cycle to be executed inside another request for rendering embedded page fragments like widgets. The kernel also triggers a deferred termination event after the response has been sent to the client, enabling heavy tasks such as email delivery without blocking the request. After each request cycle, the kernel resets accumulated state in services to prevent memory leaks in long-running processes.

Features

  • Event-Driven Pipelines - Processes HTTP requests by dispatching events through a chain of listeners that transform a request into a response.
  • Symfony Framework Integrations - Provides the core kernel component that orchestrates the complete HTTP request-response lifecycle for Symfony applications.
  • Request Interception - Dispatches an early event so listeners can inspect or short-circuit the request before any controller runs.
  • Controller Resolvers - Resolves the PHP callable that handles a request and injects its arguments automatically.
  • Controller Argument Resolvers - Automatically builds controller callable arguments from request data and reflection metadata.
  • Controller Argument Injectors - Automatically resolves controller callables and injects arguments using reflection and request attributes.
  • Reflection-Based Argument Injectors - Automatically resolves controller arguments using reflection and request attributes without manual configuration.
  • Attribute-Based - Dispatches attribute-specific events for each PHP attribute found on a controller, enabling targeted listener responses.
  • Response Lifecycle Hooks - Dispatches events at response creation and before sending to allow modification of headers, cookies, or body content.
  • Controller Resolvers - Resolves the controller callable from request attributes to handle incoming HTTP requests.
  • Request & Response Handling - Processes an HTTP request through a structured event-driven pipeline and returns a matching response.
  • Exception Response Mapping - Catches exceptions during the request cycle and dispatches an event for listeners to return custom error responses.
  • Deferred Event Queues - Triggers a terminate event after the response is sent to the client for running heavy tasks like email delivery.
  • Exception Handling - Catches exceptions thrown during the request cycle and dispatches an event so listeners can return an appropriate error Response.
  • Request State Resets - Resets accumulated service state after each request to prevent memory leaks in long-running processes.
  • HTTP Request-Response Object Layers - Converts an incoming HTTP request into a matching response through a structured, event-driven lifecycle.
  • Lifecycle Events - Dispatches lifecycle events for early interception, error handling, response modification, and deferred tasks.
  • Sub-Request Executors - Executes nested sub-requests within a parent request cycle for rendering embedded page fragments.
  • Post-Response Task Execution - Triggers a terminate event after the response is sent, enabling deferred work like email delivery.
  • Nested Sub-Request Executors - Executes nested sub-requests within a parent request cycle for rendering embedded page fragments.
  • Sub-Request Executors - Runs a complete request-response cycle inside another request to render embedded page fragments.
  • Pre-Send Response Modifiers - Alters response headers, cookies, or body content through an event just before the response is transmitted.
  • Response Value Mapping - Dispatches a view event to convert non-Response controller return values into proper Response objects.
  • View-to-Response Converters - Dispatches a view event that lets listeners convert a non-Response controller return value into a proper Response object.
  • Controller Attribute Event Dispatchers - Dispatches attribute-specific events for each PHP attribute found on a controller, enabling targeted listener responses.
  • Pre-Send Response Modifiers - Allows modification of response headers, cookies, or body content just before sending via an event.
  • Sub-Request Executors - Allows a full request-response cycle to be executed inside another request for rendering embedded page fragments.

Istoric stele

Graficul istoricului de stele pentru symfony/http-kernelGraficul istoricului de stele pentru symfony/http-kernel

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Întrebări frecvente

Ce face symfony/http-kernel?

HttpKernel is the core kernel component of the Symfony framework that orchestrates the complete HTTP request-response lifecycle. It provides an event-driven pipeline that converts an incoming HTTP request into a matching response by dispatching lifecycle events for early interception, controller resolution, error handling, response modification, and deferred tasks.

Care sunt principalele funcționalități ale symfony/http-kernel?

Principalele funcționalități ale symfony/http-kernel sunt: Event-Driven Pipelines, Symfony Framework Integrations, Request Interception, Controller Resolvers, Controller Argument Resolvers, Controller Argument Injectors, Reflection-Based Argument Injectors, Attribute-Based.

Care sunt câteva alternative open-source pentru symfony/http-kernel?

Alternativele open-source pentru symfony/http-kernel includ: pallets/werkzeug — Werkzeug is a comprehensive library and toolkit for building WSGI-compliant web applications in Python. It provides… codeigniter4/codeigniter4 — CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web… dodyg/practical-aspnetcore — This project is a comprehensive sample library and implementation guide for ASP.NET Core. It provides a collection of… quarkusio/quarkus — Quarkus is a Kubernetes-native Java framework designed for building high-performance, memory-efficient applications.… apache/camel — Apache Camel is an enterprise integration framework and Java integration engine designed to route and mediate data… alibaba/anyproxy — AnyProxy is an HTTP/HTTPS proxy framework built on Node.js that intercepts and modifies traffic through a plugin…

Alternative open-source pentru Http Kernel

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Http Kernel.
  • pallets/werkzeugAvatar pallets

    pallets/werkzeug

    6,869Vezi pe GitHub↗

    Werkzeug is a comprehensive library and toolkit for building WSGI-compliant web applications in Python. It provides the fundamental building blocks for web development, including an HTTP request and response toolkit, a rule-based URL routing engine, and a library for managing the overall web application lifecycle. The project is distinguished by its integrated development suite, which includes a WSGI development server featuring automatic code reloading and a PIN-protected interactive browser debugger for inspecting call stacks. It also includes a specialized WSGI test client that enables the

    Pythonhttppalletspython
    Vezi pe GitHub↗6,869
  • codeigniter4/codeigniter4Avatar codeigniter4

    codeigniter4/CodeIgniter4

    5,924Vezi pe GitHub↗

    CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web applications. It provides a lightweight toolkit with minimal configuration, organizing application logic into controllers, models, and views for clean separation of concerns. The framework includes a fluent query builder for constructing SQL statements programmatically, PSR-4 autoloading with namespace mapping, and a service-based dependency injection container for managing shared class instances. The framework distinguishes itself through its comprehensive set of built-in tools

    PHPcodeignitercodeigniter4framework-php
    Vezi pe GitHub↗5,924
  • dodyg/practical-aspnetcoreAvatar dodyg

    dodyg/practical-aspnetcore

    10,382Vezi pe GitHub↗

    This project is a comprehensive sample library and implementation guide for ASP.NET Core. It provides a collection of practical examples and projects that demonstrate how to build web applications, RESTful APIs, and high-performance services. The repository focuses on a variety of architectural patterns, including the development of Minimal APIs, contract-first gRPC services, and real-time communication using WebSockets and Server-Sent Events. It includes detailed implementations for user identity and security, such as token-based authentication and CSRF protection. The codebase covers a bro

    C#asp-net-coreaspnet-coreaspnetcore
    Vezi pe GitHub↗10,382
  • quarkusio/quarkusAvatar quarkusio

    quarkusio/quarkus

    15,479Vezi pe GitHub↗

    Quarkus is a Kubernetes-native Java framework designed for building high-performance, memory-efficient applications. It utilizes ahead-of-time native compilation to transform Java code into standalone, optimized binaries that eliminate the need for a virtual machine, enabling rapid startup and reduced memory consumption. By performing code augmentation during the build phase, it shifts heavy processing tasks away from runtime, ensuring that applications are optimized for cloud-native environments. The framework distinguishes itself through a unified approach to reactive and imperative program

    Javacloud-nativehacktoberfestjava
    Vezi pe GitHub↗15,479
Vezi toate cele 30 alternative pentru Http Kernel→