Error occurred when install composer on Laravel project with PHP version 7.4
Solution:
Go to PHP.INI file at location wamp64\bin\php\php7.4.32 and edit with any editor
Find extension name: sodium and enable it by remove semicolon in front of that
Restart All services on Wamp server. After restart open new command window and run composer install again.