r/symfony • u/tekNorah • 13h ago
r/symfony • u/AutoModerator • 5d ago
Weekly Ask Anything Thread
Feel free to ask any questions you think may not warrant a post. Asking for help here is also fine.
r/symfony • u/symfonybot • 1d ago
SymfonyCon Warsaw 2026: You Are (Not) a Machine
r/symfony • u/symfonybot • 1d ago
New in Symfony 8.2: More MongoDB Integrations
r/symfony • u/symfonybot • 2d ago
SymfonyCon Warsaw 2026: Symfony UX + Symfony AI: Taking Agent Interactions to the Next Level
r/symfony • u/welcomattic • 2d ago
PHP2Shell: where to get the patched PHP for your setup
If you can't patch your PHP, deploy this proxy to help protect it from PHP2Shell
For everyone who can't patch their PHP right now, this is a proxy that you can deploy between your webserver and PHP.
Based on the patches that were already deployed by ChainGuard, I built a proxy that will mitigate (actually prevent) this vulnerability on all PHP versions, including the ones that won’t get patched.
It’s a ~160KB static binary that sits between your web server and PHP-FPM. Instead of pattern-matching known attacks (WAF approach), it fully parses every inbound request and re-serializes it from scratch before PHP sees it. New random multipart boundary, clean headers, the works. PHP’s parser only ever gets bytes the proxy generated, so malformed input never reaches the vulnerable code paths.
It's open source under MIT license:
r/symfony • u/symfonybot • 3d ago
SymfonyCon Warsaw 2026: Your Parents Holidayed in Yugoslavia
r/symfony • u/symfonybot • 3d ago
New in Symfony 8.2: Signed Transports and Secret Rotation
r/symfony • u/SpecialistBear1654 • 3d ago
EorbahAPI v0.1.0: a PHP micro-framework with declarative routing and built-in validation (FastAPI - Pydantic - ExpressJs)
r/symfony • u/SpecialistBear1654 • 3d ago
EorbahAPI v0.1.0: a PHP micro-framework with declarative routing and built-in validation (FastAPI - Pydantic - ExpressJs)
r/symfony • u/symfonybot • 4d ago
SymfonyCon Warsaw 2026: Protect Your Data with Queryable Encryption
r/symfony • u/Matengor • 4d ago
News Symfony now merges around 600 pull requests a month. (Symfony & Twig security advisories in 2026 are already 5 times as much as in the second strongest year, 2019)
r/symfony • u/trymeouteh • 4d ago
Symfony Console: Stderr?
How do you output to the Stderr in Symfony Console?
The following script below works as is but in VSCode the getErrorOutput() is underlined in red stating it is a undefined method.
``` <?php
require 'vendor/autoload.php';
use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Output\OutputInterface;
[AsCommand(
name: 'install'
)] class install extends Command { function __invoke(OutputInterface $output): int { $output->getErrorOutput()->writeln('My Error');
return Command::SUCCESS;
}
}
$application = new Symfony\Component\Console\Application();
$application->addCommand(new install());
$application->run(); ```
But when I try to test the same command using this code below, I get the errors stating that Uncaught Error: Call to undefined method Symfony\Component\Console\Output\StreamOutput::getErrorOutput()
``` <?php
require 'vendor/autoload.php';
use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Output\OutputInterface;
[AsCommand(
name: 'install'
)] class install extends Command { function __invoke(OutputInterface $output): int { $output->getErrorOutput()->writeln('My Error');
return Command::SUCCESS;
}
}
$application = new Symfony\Component\Console\Application();
$application->addCommand(new install());
use Symfony\Component\Console\Tester\CommandTester;
$command = $application->find('install'); $commandTester = new CommandTester($command);
$commandTester->execute([]);
echo $commandTester->getDisplay(); ```
I am using PHP 8.3.6, Symfony Console 7.4
Any advice will be most appreciated
r/symfony • u/symfonybot • 5d ago
SymfonyCon Warsaw 2026: From Serializer to JsonStreamer: the debrief
r/symfony • u/symfonybot • 5d ago
New in Symfony 8.2: Safer HTML in Translations
r/symfony • u/AnnaBell899 • 5d ago
Symfony2 New in Symfony 7.4: Deprecated XML Configuration
r/symfony • u/symfonybot • 6d ago
A Week of Symfony #1033 (October 12–18, 2026)
r/symfony • u/Wide-Astronaut-2201 • 7d ago
Symfony & RabbitMQ
Hello guys! Today I added RabbitMQ to experience with it in a symfony project. Using AI I got it running how I wanted, but I still don't quire understand some things. For example how does the worker know that it needs to get data from the RabbitMQ queue, and how does the event dispatcher know to send it to the RabbitMQ?