How to install the PHP package werdffelynir/funny-name-generator from Packagist with Composer

By Where is my PHP package

PHP
Composer
Packagist
werdffelynir/funny-name-generator

Run the following command to install the package and its dependencies. The require command adds new packages to the composer.json file from the current directory.

composer require werdffelynir/funny-name-generator