> Symfony 7 >

Course Overview

Login to bookmark this course

Actualizar y qué hay en Symfony 7

Dive into Symfony 7: Upgrade safely from Symfony 6.4, map queries with `#[MapQueryParameter]`, and use `$request->getPayload()`.

  • intermediate
  • 1133 students
  • EN/ES Captions
  • EN/ES Script
  • Certificate of Completion

Your Guides

About this course

What PHP libraries does this tutorial use?

// composer.json
{
    "require": {
        "php": ">=8.3",
        "ext-ctype": "*",
        "ext-iconv": "*",
        "babdev/pagerfanta-bundle": "^4.0", // v4.4.0
        "doctrine/doctrine-bundle": "^2.7", // 2.11.1
        "doctrine/doctrine-migrations-bundle": "^3.2", // 3.3.0
        "doctrine/orm": "^2.12", // 2.17.3
        "knplabs/knp-time-bundle": "^2.2", // v2.2.0
        "pagerfanta/doctrine-orm-adapter": "^4.0", // v4.2.0
        "pagerfanta/twig": "^4.0", // v4.2.0
        "stof/doctrine-extensions-bundle": "^1.7", // v1.10.1
        "symfony/asset": "7.0.*", // v7.0.0
        "symfony/asset-mapper": "7.0.*", // v7.0.2
        "symfony/console": "7.0.*", // v7.0.2
        "symfony/dotenv": "7.0.*", // v7.0.2
        "symfony/flex": "^2", // v2.4.3
        "symfony/framework-bundle": "7.0.*", // v7.0.2
        "symfony/http-client": "7.0.*", // v7.0.2
        "symfony/messenger": "7.0.*", // v7.0.1
        "symfony/monolog-bundle": "^3.0", // v3.10.0
        "symfony/runtime": "7.0.*", // v7.0.0
        "symfony/scheduler": "7.0.*", // v7.0.0
        "symfony/twig-bundle": "7.0.*", // v7.0.0
        "symfony/ux-turbo": "^2.0", // v2.13.2
        "symfony/yaml": "7.0.*", // v7.0.0
        "twig/extra-bundle": "^2.12|^3.0", // v3.8.0
        "twig/twig": "^2.12|^3.0" // v3.8.0
    },
    "require-dev": {
        "doctrine/doctrine-fixtures-bundle": "^3.4", // 3.5.1
        "symfony/debug-bundle": "7.0.*", // v7.0.0
        "symfony/maker-bundle": "^1.41", // v1.52.0
        "symfony/stopwatch": "7.0.*", // v7.0.0
        "symfony/web-profiler-bundle": "7.0.*", // v7.0.2
        "zenstruck/foundry": "^1.21" // v1.36.1
    }
}

¡Symfony 7️⃣ ya está aquí! Y quiero que todos lo disfrutemos. Así que manos a la obra con la actualización. En este tutorial, vamos a

  • Actualizaremos a Symfony 6.4
  • Actualizaremos todas nuestras recetas Flex: veremos el porqué de los cambios
  • Eliminar SensioFrameworkExtraBundle
  • Navegar por los cambios de WebpackEncoreBundle v2 y StimulusBundle
  • Buscar y eliminar obsoletos 🔎
  • Actualizar a Symfony 7
  • Convergencia de Webpack Encore -> AssetMapper
  • NUEVO: #[Autowire] atributos
  • NUEVO: perfilador de comandos
  • NUEVO: #[MapQueryParameter] y $request->getPayload()
  • ¡El brillante componente Scheduler!
  • Y un recorrido por mis otras novedades favoritas...

Gracias al sistema de obsoletos de Symfony, la actualización es segura y sencilla. Así que ¡manos a la obra!

2 Comments

Sort By
Login or Register to join the conversation

Hello,
why didnt you use Rector in this tutorial ?
you did used it in Upgrade from symfony 5 to 6 and i guess it was helpfull

| Reply |

Hey @Zakaria

Good question, but why use? Yeah, I can say that Rector is a great tool for upgrading your app. However, you should also know how to upgrade apps manually in case when automation fails or probably you just want more control over the process of updating.

Cheers.

| Reply |

Delete comment?

Share this comment

astronaut with balloons in space

"Houston: no signs of life"
Start the conversation!