Because the packagist name differs from the repository name, it's helpful to include the composer require command.
The code example was missing the class import for the Context class (there are lots of Context classes available in Drupal/Symfony, so I was confused about which one to use).