Trying to run composer require intervention/image on my Plesk Server and apart from getting the following error Do not run Composer as root/super user! See https://getcomposer.org/root for details , I keep getting errors for missing extensions such as requires phpoffice/phpspreadsheet. After installing an extension I usually get prompted to install another extension and so on.
I installed the package locally and it worked, but installing the package on my plesk server did not work. There are a lot of other errors but all related to phpoffice/phpspreadsheet