Source: ondrej-popelka.medium.com

Running Composer update on Ancient code
At the same time, I’m still occasionally working in an archeological dig on a hugely old PHP application. It’s so hugely old that it runs on PHP 5.6 only and depends on a framework which depends on Symfony 2.8 (that’s why it runs on PHP 5.6 only). On an unfortunate occasion, I also need to use co mposer to run composer install on this relic and it fails miserably because of exhausted memory. The solution is to run composer update to bring the dependencies forward (there is more than 120 of them) which of course fails miserably too.

P.S. All this applies to Composer V1, although Composer V2 is supposed to be much more effective, but unfortunately it’s incompatible with this antique piece of code.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners