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

SymfonyCasts

Upgrading & What's in Symfony 7

via SymfonyCasts

Overview

Symfony 7️⃣ is here! And I want all of us to enjoy it. So let's get to work on upgrading. In this tutorial, we'll:

  • Upgrade to Symfony 6.4
  • Update all of our Flex recipes: walking through the why behind the changes
  • Remove SensioFrameworkExtraBundle
  • Navigate the WebpackEncoreBundle v2 & StimulusBundle changes
  • Search & eliminate deprecations 🔎
  • Upgrade to Symfony 7
  • Converging from Webpack Encore -> AssetMapper
  • NEW: #[Autowire] attributes
  • NEW: Command profiler
  • NEW: #[MapQueryParameter] and $request->getPayload()
  • The shiny Scheduler component!
  • And a tour of my other favorite new features...

Thanks to Symfony's deprecation system, upgrading is safe & simple. So let's do this!

Syllabus

  • Upgrading to Symfony 6.4
  • Flex Recipe Updates
  • Encore, StimulusBundle & their Recipe Changes
  • Goodbye SensioFrameworkExtraBundle
  • Finding & Eliminating Deprecations
  • Upgrading to Symfony 7
  • Migrating Encore -> AssetMapper
  • Encore -> AssetMapper Part 2
  • Modernizing with fetch() and await
  • New Autowiring Attributes
  • MapQueryParameter & Request Payload
  • Profiling Commands
  • New Component: Scheduler

Taught by

Ryan Weaver

Reviews

Start your review of Upgrading & What's in Symfony 7

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.