If You need extensions name, just open registration.php
file directly in extension folder. There should be something like:
<?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
\Magento\Framework\Component\ComponentRegistrar::register(
\Magento\Framework\Component\ComponentRegistrar::MODULE,
'Magento_Captcha',
__DIR__
);
Magento_Captcha is extension name.
If you want enable new extension installed via composer run:
composer update composer install (depends)
php bin/magento module:enable Magento_Captcha
php bin/magento setup:upgrade
php bin/magento setup:di:compile
EDIT:
To add new repo to composer use:
composer require username/project
For example https://github.com/weprovide/magento2-module-disablevisitorlog
compsoer require weprovide/magento2-module-disablevisitorlog