How to install the PHP package yurii-github/yii2-mylib from Packagist with Composer

By Where is my PHP package

PHP
Composer
Packagist
yurii-github/yii2-mylib

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 yurii-github/yii2-mylib