How to install the PHP package moxie-leean/wp-endpoints-author from Packagist with Composer

By Where is my PHP package

PHP
Composer
Packagist
moxie-leean/wp-endpoints-author

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 moxie-leean/wp-endpoints-author