Note: I know this is a PHP question, but - and I could be wrong here - but I think the problem may only exist with PHP, composer on ubuntu.
Anyway, almost every tutorial, including composer itself say run the composer require command to install a package, e.g.
composer require robmorgan/phinx
However, for me, on Ubuntu , all this ever does is hang the terminal, until I Ctrl+c of of the terminal.
How can I get this command to work?