🐧 PHP.earth Alpine Linux repository with the latest PHP packages
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.docker/abuild
.github
packages
public
.editorconfig
.gitattributes
.gitignore
CHANGELOG.md
LICENSE
Makefile
README.md

README.md

PHP.earth Alpine Linux repository

This repository includes the latest PHP versions and packages for the elegant PHP development experience on Alpine Linux.

Quick usage

On Alpine Linux add a PHP.earth repository and make it trusted:

apk add --no-cache wget ca-certificates \
&& wget -O /etc/apk/keys/phpearth.rsa.pub https://repos.php.earth/alpine/phpearth.rsa.pub \
&& echo "https://repos.php.earth/alpine/v3.8" >> /etc/apk/repositories

PHP.earth packages are prefixed with php7.3, php7.2, and php7.1:

apk search --no-cache php7.2*

Alpine 3.7

For the previous version of Alpine:

apk add --no-cache wget ca-certificates \
&& wget -O /etc/apk/keys/phpearth.rsa.pub https://repos.php.earth/alpine/phpearth.rsa.pub \
&& echo "https://repos.php.earth/alpine/v3.7" >> /etc/apk/repositories

Alpine repository includes also a legacy PHP 7.0 version.

Documentation

Detailed documentation is available at PHP.earth.

Contributing and license

Contributions are most welcome. Just fork and send pull request or open an issue. This repository is licensed under the MIT license.