Symfony in Drupal

saranya ashokkumar

Symfony is a php framework to build web projects. Main benefites of using symfony is to reuse the same code at many place with the help of dependency injection. There are many components in symfony are Console, Dependency Injection, Routing, EventSubscriber, Yaml...

Drupal 8 depends Symfony 3, based on symfony roadmap there no longer support will be there for a Symfony 3 till November 2021. Already Dries has mention in his blog (https://dri.es/drupal-7-8-and-9). So we need to move Drupal with Symfony 4 which keeps our Drupal more secure and updated.

I have a experience in symfony 3 and 4. I am going to share about my experience in symfony with Drupal. In this session, I am going to explain about the main difference between symfony 3 and symfony 4 or 5 and what needs to get change in Drupal 8 to Drupal 9 based on symfony 3 or 4. Symfony 3 deprecated code which makes Symfony 4 lighter. Migrating Symfony 3 to symfony 4. We will also discuss about the following symfony components:

  1. Manging Assets

  2. Caching Mechanism

  3. Handling Configuration Values

  4. Events Dispatchers

  5. Debugging mechanism

  6. Dependency Injection

  7. Routing

  8. Security

  9. Templating

  10. Yaml

  11. Performance

Program tags

architecture, core, php

Experience Level

Beginner

Drupal Version