Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

SymfonyCasts

Upgrading & What's New in Symfony 6!

via SymfonyCasts

Overview

Symfony 6 is here! Newer & shinier... it smells faintly of coconut! But, exactly what is new? And what's the best path to upgrading?

Symfony 6 builds on top of Symfony 5. So if you love making huge changes like reorganizing all of your files, whelp, I'm sorry to disappoint! But even though Symfony 6 won't require you to do a ton of work to upgrade to it, it does come with some wonderful features to make life easier. Let's upgrade... then try some of those out. We'll cover:

  • Upgrading to Symfony 5.4
  • The new Flex command for updating recipes 🍾
  • Updating all of our recipes
  • Converting from "attributes" to "annotations" with Rector
  • Finding & Removing deprecations
  • Upgrading to Symfony 6
  • ... new features!

And we won't even cover all the new features... that would take days! See Symfony.com 5.4/6.0 Features Blog for even more. Ok, let's get to work!

Syllabus

  • Project Setup & The Plan
  • Upgrading to Symfony 5.4
  • Automating Upgrades with Rector
  • Post-Rector Cleanups & Tweaks
  • Updating the All-Important FrameworkBundle Recipe
  • Recipe Upgrades with recipes:update
  • Recipe Upgrades: Part 2!
  • Upgrading Encore and your assets/ Setup
  • Upgrading to PHP 8
  • Annotations to Attributes
  • Adding Property Types to Entities
  • Security Upgrades
  • Custom Authenticator authenticate() Method
  • Password encoders -> password_hashers & debug:firewall
  • Hunting Down the Final Deprecations
  • Upgrading to Symfony 6.0
  • Final Upgrades & Cleanups
  • Form Improvements for Symfony 6
  • Enhanced Docker Integration & Testing Emails

Taught by

Victor Bocharsky and Ryan Weaver

Reviews

Start your review of Upgrading & What's New in Symfony 6!

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.