Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.34 KB

README.md

File metadata and controls

46 lines (31 loc) · 1.34 KB

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.