The search command allows us to search and navigate through the current project's package repositories. This used Packagist by default. When searching, you can simply pass your search parameters as shown in the code snippet below:
composer search monolog