Would be good to comment that composer require
does not actually need you to specify the version and is also recommended that you let composer decide, as it also means you do not need to go look that up.
composer require package
will automatically insert something like ~1.11
and will tell you. Adding the version only needs to be done in less frequent cases where you need to specify a version other then the latest.