How to fix «Allowed memory size exhausted» on «composer install»?

php -i | grep memory_limit

memory_limit => 1500M => 1500M

So the soluition to increase the memory_limit option value in the php.ini.