https://events.drupal.org/seattle2019/sessions/when-drupal-met-symfony

TL;DR Symfony fundamentals generally work in D8

Can generally go to packagist to install components via composer w/in D8 project and try it out w/ Drupal

Symfony = Usable PHP components and a framework

What components does Drupal 8 use?

  • YAML
  • Http Kernel

Hook into HTTP Kernel with event subscribers, Example:

"kernel.request"

  • Unserialize request data
  • add attributes
  • verify a token
  • request for cache

Creating an event subscriber:

Implement event sub interface

getSubscribedEvents()

-- Implement custom behavior

Register service w/ tags

https://github.com/mediamonks/documents/blob/master/rest-api-specification.md