How to install cakephp 3 plugin using composer and where i install it?

How to install cakephp plugins using composer and where i installed it?

go to root directory where cakephp is installed and type composer require … it will be installed in vendor directory.