Notre blog

SymfonyCon 2026: our recap of the talks

Published on 1 December 2026

On November 26 and 27, the Symfony community met in Warsaw for SymfonyCon Warsaw 2026, at the Hilton Warsaw City hotel. The city hosted the very first SymfonyCon back in 2013. The program: two days of talks across three parallel rooms, in front of several hundred attendees. We were a Silver sponsor, ran a booth, and took the stage three times: Alexandre Daubois led a workshop, while Kévin Dunglas and Antoine Bluchet gave talks. Here is what we took away.

SymfonyCon 2026
Antoine on stage @ SymfonyCon 2026

Symfony 8.1 and 8.2: console apps without HTTP

Robin Chalas (baksla.sh) dedicated Web-less Console: Standalone Apps in Symfony 8.2 to the symfony/console component, installed more than a billion times. Its API has changed a lot since 7.3: invokable commands with #[AsCommand] and an __invoke() method, arguments typed as backed enums in 7.4, then in 8.1 the same value resolvers as controllers, a #[MapInput] DTO validated by #[Assert\…] constraints, and declarative choice questions with #[AskChoice]. In Robin’s example, a command shrinks from 30 lines to 14.

That left fully terminal applications, which until now had to ship HttpKernel and often FrameworkBundle. In 8.1, the kernel moves into the DependencyInjection component (AbstractKernel), and the core of FrameworkBundle splits into ServicesBundle and ConsoleBundle: a CLI app only registers the latter. Symfony 8.2 adds one bundle per component (29 new bundles, enabled on install), a LockableTrait that can share a lock across servers, deprecated or hidden options, and multi-file input by drag and drop, which Robin contributed.

A dense talk that made us want to rewrite our ops scripts on 8.2.

AI: agents move to production

Exposing Your API to AI Agents

Our fellow co-op member Antoine Bluchet, Project Lead of API Platform, showed in his talk how to expose a Symfony API to agents through MCP. His running example: the garage assistant he presented at the last Symfony hackathon, which opens a vehicle’s documentation at the right page and logs an oil change by voice.

With API Platform, a #[McpTool] is an operation like any other: an input DTO, a state processor shared with an HTTP route, and the security option to restrict a tool to certain roles. One catch: validation is disabled by default on the MCP side, so you need to add validate: true. To expose a whole API, Antoine compared two approaches. An OpenAPI-to-MCP bridge generates one tool per operation (57 tools, or 10,018 tokens of context in his test). A Hydra gateway starts from a single tool and registers the others as the agent navigates: tool schemas drop from 77% to 2% of the context, with the same success rate, according to the paper he co-wrote with Kévin Dunglas.

Those numbers are what we will remember first. The slides are on his personal website.

Beyond the Demo: Shipping Real AI Features

Christopher Hertel started Beyond the Demo from last year’s demo: a RAG chatbot (retrieval-augmented generation, where answers rely on a document search) for the Symfony blog, slow and without guardrails. To get it to production, he tackled four problems: performance (streaming first, then asynchronous processing with workers and Mercure, a token budget and a cap on tool calls), validating tool arguments with DTOs and #[MapToolArgument], storing vectors directly in Doctrine with an #[Embedding] field, and unstable answers, which he handles by making production feedback reproducible locally.

The hands-on counterpart to Antoine’s talk: little theory, plenty of cases you hit as soon as you go live.

Green Is Not Done

Anne-Julia Seitz opens Green Is Not Done with one observation: for a coding agent, a green CI means “done.” In her example, an agent asked to handle a rate limit added a catch that was too broad and swallowed errors, and none of the checks (PHPStan, Deptrac, tests) caught it. She proposes harness engineering: guides that steer the agent before it acts (types, AGENTS.md, skills) and sensors that check its work afterwards (PHPStan, tests, AI code review), a framework borrowed from Birgitta Böckeler on martinfowler.com.

Her fix for the bug: a custom PHPStan rule, tested like code, silent when everything passes and explicit when it fails, with a baseline that tolerates existing code but blocks new occurrences. To get started, she recommends a single check command (make ci) that the agent must run before handing back. We can apply this advice to our legacy projects on Monday morning.

Security: a busy year for the PHP ecosystem

Composer & Packagist Supply Chain Security: Report from the trenches

Jordi Boggiano and Nils Adermann used their talk to review a year of supply chain attacks on PHP. On April 30, version 5.0.2 of intercom/intercom-php was rewritten as a Composer plugin that stole credentials; in May, around 700 tags of laravel-lang/* packages suffered the same fate. In both cases, push access to GitHub was enough, and since existing versions were rewritten, composer.lock only protected you until the next update.

In response, Packagist.org has integrated Aikido’s malware feed since March and keeps a public transparency log. Composer 2.10 groups advisories, abandoned packages and malware under config.policy: a version flagged as malware never reaches the disk, even from a lock file. Composer 2.11, released on October 29, adds a cooldown that skips versions that are too recent, and stable versions published on Packagist.org can no longer be re-tagged. Their recommendations for a Symfony application:

  • upgrade to Composer 2.11 everywhere (laptops, CI, Docker images, agent sandboxes);
  • set a cooldown of a few hours to a day, with --no-cooldown for emergencies;
  • never disable policies ("policy": false);
  • only allow trusted plugins, one by one, with allow-plugins.
{
    "config": {
        "policy": {
            "cooldown": { "period": "1 day" }
        }
    }
}

These four settings take an afternoon of work per project.

Fixing PHP2Shell

In Fixing PHP2Shell, Volker Dusch, from the PHP Foundation’s security team, told the story behind the fix for an engine flaw that allowed remote code execution. When a request hits the memory limit, the fatal error frees memory while global variables still point to it; a malicious request served next by the same worker can then fill that memory. The fix defers the fatal error until the virtual machine reaches a safe point: about 200 files and 10,000 lines changed, several weeks of work funded by the PHP Foundation, and coordinated disclosure with the Linux distributions.

It is rare to hear the inside story of a fix this size.

Beffroi, an identity provider built with Symfony

At the unconference, Mathieu Santostefano presented Beffroi, an MIT-licensed open source identity provider and an alternative to Keycloak or Auth0. It supports OpenID Connect and SAML 2.0, passkeys and TOTP, and follows FAPI 2.0, the high-security profile of OAuth 2.0: PKCE is mandatory and tokens are bound to the client that requested them. Keys come from the organization’s KMS through Symfony 8.2’s new KeyManagement component, still experimental. A project to watch for teams who want to keep user identity in their own stack.

Mercure 1.0: eight years of real time

Kévin Dunglas, one of our co-op members and the creator of Mercure, presented version 1.0 of the protocol in Mercure 1.0: Real-Time Symfony, Eight Years On, released along with a new Symfony integration. The principle hasn’t changed: the backend sends a POST request to the hub, which pushes the update to each client over SSE (Server-Sent Events). The hub, written in Go, handles the persistent connections that PHP struggles with. Compared to WebSockets, Mercure needs no SDK, checks the origin and CORS by default, and handles reconnection; WebSockets remain the better choice for binary data.

Mercure also showed up in Antoine’s and Christopher’s talks, where it pushed what the LLM produced to the browser.

Modern PHP: Doctrine entities and the type system

final class Entity: Doctrine Mapping for Modern PHP

In final class Entity, Alexander M. Turek went through what recent PHP versions change for Doctrine entities. BcMath\Number fixes precision loss on decimals, native lazy objects remove generated proxy classes (so entities can finally be final), and asymmetric visibility replaces setters. One caveat: Doctrine bypasses property hooks during hydration. Enough to make us revisit our mapping conventions on upcoming projects.

PHP’s Type System Dissected

In PHP’s Type System Dissected, Gina Banyard described types as sets of values: mixed contains all of them, never none, and a union type is a union of sets. After a look at the engine’s internal structures (zval, zend_type), Gina explained the Liskov substitution principle with a pipe: a replacement section must accept input at least as wide and must not produce wider output. Hence contravariant parameters, covariant return types and invariant properties. Ideas for the future include generics on interfaces, fixed by the concrete class, and effect types. More theoretical than the rest of the program, but the pipe image is enough to remember the variance rule.

Symfony UX Native: a mobile app from a single codebase

In PHP Wasn’t Supposed to Do That, Felix Eymonot presented symfony/ux-native, which turns a Symfony application into an iOS and Android app. A native shell (Hotwire Native) loads the pages in a WebView, with native navigation. On the Twig side, ux_is_native() adapts the rendering; watch out for HTTP caching, since the same URL serves two versions of the page. Stimulus controllers talk to the shell to display native components, and deploying the website updates the app, with no new trip through the app stores. Push notifications and offline mode are still missing, and the bundle is experimental, although Felix has already used it for an internal app. A convincing demo for projects where a full mobile app would be overkill.

Accessibility: fifteen years of hearing loss and technology

In From 30% to 100%: Fifteen Years of Hearing Loss and Tech, Florian Margaine looked back on fifteen years of working life with profound deafness: exhausting lip-reading in meetings, Bluetooth between computer and hearing aids around 2015, Google Meet live captions in 2020, then glasses that display captions on the lenses. His point: the technology exists, but it is rarely on by default. One question stayed with us: how many of these settings are turned on in our own tools?

In brief

What we take away from this edition

Two topics stood out over these two days. AI is moving from demos to production, with the validation and automated checks that requires. And after a year of supply chain attacks, PHP ecosystem security was the other big topic: Composer 2.11 and its cooldown are the upgrade to make before the end of the year. On the framework side, Symfony 8.1 and 8.2 split up FrameworkBundle: each component now has its own bundle, and console apps no longer need the HTTP layer.

Thanks to the Symfony team, the speakers and everyone who made this edition happen. If you want to expose your API to agents or modernize a Symfony application, let’s talk!

Yohan Giarelli
Yohan Giarelli Backend developer
Hugo Nicolas
Hugo Nicolas Backend developer

Tags Events, symfony, SymfonyCon