Symfony 8.2 is shaping up to be one of the biggest Symfony releases ever! It's packed with new features and improvements across the framework, and security is no exception.

That's what we're exploring in our latest SymfonyCasts course - and it's completely free:

Symfony 8.2 Security Upgrades

Picking up where Symfony Security: Going Further left off, we'll upgrade our application to Symfony 8.2 and put its new security features to work.

From one-line logout buttons and safer impersonation to improved sudo mode, we'll replace custom solutions with powerful new tools built right into Symfony.


What This Course Covers

We'll explore some of Symfony 8.2's most useful security improvements:

  • Upgrading an existing application to Symfony 8.2
  • Replacing custom logout forms with the new logout_button() Twig helper
  • Securing user impersonation with POST requests and CSRF protection
  • Automatically logging out disabled users with user_checker_on_refresh
  • Requiring recent authentication with IS_AUTHENTICATED_RECENTLY
  • Creating rate limiters on the fly with RateLimiterBuilder

The goal isn't just to learn what's new, but to see how these improvements simplify your code and make your applications more secure.


Who Is This For?

If you're already using Symfony Security and want to take advantage of the latest improvements, this course is for you. Whether you're upgrading an existing application or starting fresh, you'll discover practical features that make security simpler and more robust.

And did we mention? The entire course is free!


In Case You Missed It...

We've also been exploring some exciting developments in Symfony testing:


What's Next on SymfonyCasts?

With our Symfony Security series wrapped up, we're turning our attention to testing:

  • E2E Testing - learn how to test complete user flows, from forms and authentication to JavaScript interactions, using Playwright-PHP and other tools to keep your tests fast and reliable.

Stay tuned - there's plenty more Symfony goodness on the way!

Published in #Tutorials