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

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners