-- Leo's gemini proxy

-- Connecting to g.codelearn.me:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

Composer install - ignore php version constrains


Solution


Just run this:


composer install --ignore-platform-req=php

Issue


I often have an issue when after upgrading PHP to a newer versions I can't do `composer install` anymore because one or more libraries haven't updated their `require.php` section to support newer version of the language.


Moreover, even if you manage to install new versions of those libs you still may have other projects on your machine that require older version of php (my case).


I also prefer to have programming languages installed on my machine directly without any docker stuff that would potentially solve this issue. Also I'm not aware of any solutions like NVM or RVM for PHP.

-- Response ended

-- Page fetched on Sun May 12 09:04:44 2024