[horde] composer version Debian stable - 2.0.9-2+deb11u1

Ralf Lang ralf.lang at ralf-lang.de
Tue Dec 20 07:34:00 UTC 2022

Hello Samuel,

Am 19.12.2022 um 15:55 schrieb Samuel Wolf:
> Hello,
> wiki [1] says "Horde 6 needs the Composer Package Manager. Currently, 
> composer 2.2 - 2.4 are supported.".
> What does that mean exactly?
> It can work with 2.0.9? Or is there no chance to install Horde 6 on 
> Debian stable?
Most likely something will fail - I picked that versions because of some 
features in the code.

You can install a newer composer version on Debian Stable using either 
phive or manually downloading the phar.

Using Phive:
Get Phive from: https://phar.io/
Then: phive install composer

Using composer's self bootstrapping: https://getcomposer.org/download/

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '55ce33d7678c5a611085589f1f3ddf8b3c52d662cd01d4ba75c0ee0459970c2200a51f492d557530c71c15d8dba01eae') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"

In any case read the accompanying website before running commands somebody posted on the internet. ;)

Wish you all a merry time.

> Samuel
> [1] https://wiki.horde.org/Doc/Dev/H6/Installation/Composer

More information about the horde mailing list