Skip to content

Auto-Updating PPA (unofficial) for composer (dependency Manager for PHP)

License

Notifications You must be signed in to change notification settings

mitinsany/composer-ppa

Repository files navigation

A PPA (unofficial) repository for Composer (Dependency Management for PHP. See https://getcomposer.org/). Contains only loader for binary file, without dependencies.

Important update

Due to the fact that a short key was used to sign the packages. Users may receive the following message when updating the package list

W: https://mitinsany.github.io/composer-ppa/deb/dists/latest/InRelease: Signature by key B795A01CB58906D9FA104274548EE88B5D87B9A7 uses weak algorithm (dsa2048)

So I regenerate new longer key. To continue using the repository, download and install a new key composer-ppa.gpg

Usage

For stable latest 2.* versions

sudo curl -SsL -o /usr/share/keyrings/composer-ppa.gpg https://mitinsany.github.io/composer-ppa/composer-ppa.gpg
sudo curl -SsL -o /etc/apt/sources.list.d/composer-ppa-latest.list https://mitinsany.github.io/composer-ppa/sources.list.d/composer-ppa-latest.list
sudo apt update
sudo apt install composer

For stable (LTS) 2.2.* versions

sudo curl -SsL -o /usr/share/keyrings/composer-ppa.gpg https://mitinsany.github.io/composer-ppa/composer-ppa.gpg
sudo curl -SsL -o /etc/apt/sources.list.d/composer-ppa-stable.list https://mitinsany.github.io/composer-ppa/sources.list.d/composer-ppa-stable.list
sudo apt update
sudo apt install composer

For old 1.*.* versions

sudo curl -SsL -o /usr/share/keyrings/composer-ppa.gpg https://mitinsany.github.io/composer-ppa/composer-ppa.gpg
sudo curl -SsL -o /etc/apt/sources.list.d/composer-ppa-v1.list https://mitinsany.github.io/composer-ppa/sources.list.d/composer-ppa-v1.list
sudo apt update
sudo apt install composer

Sources