Updating component usage to use composer require

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3+
| Fixed tickets | n/a

Hi guys!

This shows using the new `composer require` command instead of manually updating `composer.json`. It shortens and simplifies things quite a bit :grinning: 

Thanks!
I'm -1 for it too, as I already made clear in the PR added this.