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 5!

via SymfonyCasts

Overview

Symfony 5 is here! Newer & shinier... of course! But exactly what is new?

Symfony 5 builds on top of the shoulders of Symfony 4. It doesn't completely change any directory structures or add any ground-breaking new way of developing. But it does come with some key new features to make life easier. Let's upgrade... then try some of those out. We'll cover:

  • composer.json & extra.symfony.require
  • Upgrading to Symfony 4.4
  • New Flex commands for updating recipes
  • Updating all the most important recipes
  • Finding & Removing deprecations
  • Upgrading to Symfony 5
  • New secrets management
  • Auto-validation
  • The new PHP 7.4 "preload" file
  • Using "migrate_from" to migrate your hashed passwords for max security
  • bin/console lint:container

And these are just my favorite features (see Symfony.com 4.4/5.0 Features Blog for even more). Let's get to work!

Syllabus

  • Flex, Versioning & extra.symfony.require
  • Managing Flex, extra.symfony.require & Version Constraints
  • Upgrading to Symfony 4.4
  • Selectively Committing Recipe Updates
  • Upgrading Recipes: New Commands!
  • Recipe Upgrade: symfony/console & bootstrap.php
  • Upgrading the FrameworkBundle Recipe (Part 1)
  • FrameworkBundle Recipe Part 2: The Kernel Class
  • Updating the TwigBundle Recipe
  • Updating the Mailer Recipe(s)
  • phpunit-bridge & routing Recipes
  • Updating security, translation & validator Recipes
  • Updating the webpack-encore-bundle Recipe
  • Fixing the First Deprecations
  • Upgrading KnpPaginatorBundle & PHP Platform Version
  • Upgrading/Migrating from StofDoctrineExtensions
  • Upgrading to DoctrineBundle 2.0
  • DoctrineBundle Updates & Recipe Upgrade
  • Fixing our Deprecations: Form, Controller & Mailer
  • Hunting the Final Deprecations
  • Upgrading to Symfony 5.0
  • Secrets Management Setup
  • Production Secrets
  • Overriding Secrets Locally (Local Vault)
  • Prod Vault Optimization & Vault for Tests
  • Validation Auto-Mapping
  • Migrate Password Hashing
  • PHP 7.4 preload
  • Is your Container Running? Catch It! lint:container

Taught by

Ryan Weaver

Reviews

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

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.