• Stars
    star
    482
  • Rank 91,212 (Top 2 %)
  • Language
    Shell
  • Created almost 8 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

PHP APK Repository for Alpine Linux

PHP-ALPINE: Fresh PHP binaries APK repository for Alpine Linux.

Currently Supporting PHP 8.1, also, PHP 8.0 and PHP 7.4.

This project provides a simple alternative for running updated PHP binaries on Alpine Linux. We pack and release PHP versions as soon they are available on http://php.net. (At least, we try to.) Additionally, many PECL extensions are also available as packages as well.

Created by:

Support, Help and Faith:

Main Related Projects:

  • Ambientum by @hernandev Docker native solution for running Laravel projects. From Development to Production.

  • DDE by @whatwedo Local development environment toolset based on Docker


APK Repositories & Release Cycle

PHP 8.1

Alpine PHP Repository URL
Alpine 3.15 PHP 8.1 php.hernandev.com/v3.15/php-8.1
Alpine 3.14 PHP 8.1 php.hernandev.com/v3.14/php-8.1
Alpine 3.13 PHP 8.1 php.hernandev.com/v3.13/php-8.1
Alpine 3.12 PHP 8.1 php.hernandev.com/v3.12/php-8.1

PHP 8.0

Alpine PHP End of Support Repository URL
Alpine 3.12 PHP 8.0 EOS php.hernandev.com/v3.12/php-8.0
Alpine 3.11 PHP 8.0 EOS php.hernandev.com/v3.11/php-8.0

PHP 7.4

Alpine PHP End of Support Repository URL
Alpine 3.12 PHP 7.4 EOS php.hernandev.com/v3.11/php-7.4
Alpine 3.10 PHP 7.4 EOS php.hernandev.com/v3.10/php-7.4

PHP 7.3

Alpine PHP End of Support Repository URL
Alpine 3.11 PHP 7.3 EOS php.hernandev.com/v3.11/php-7.3
Alpine 3.10 PHP 7.3 EOS php.hernandev.com/v3.10/php-7.3

Builds are available as soon as possible, and EOS is determined by:

  • If either PHP or Alpine release reaches end of support, the repository will stop receiving updates.
  • Support for both PHP and Alpine are estimated for around 2 years from release date.

Active support reference:

Replace examples below with desired Alpine and PHP versions.

Snippets

The following code snippets are intended for quick usage on either shell scripts or Dockerfile

Notice that main and community official repositories must be enabled.

Dockerfile

You may skip the ca-certificates part if you replace HTTPS by HTTP but you should not. PHP packages will eventually install ca-certificates anyway.

FROM alpine:3.11

ADD https://php.hernandev.com/key/php-alpine.rsa.pub /etc/apk/keys/php-alpine.rsa.pub

RUN apk --update-cache add ca-certificates && \
    echo "https://php.hernandev.com/v3.11/php-7.4" >> /etc/apk/repositories

# install php and some extensions
RUN apk add --update-cache \
    php \
    php-bz2 \
    php-json \
    php-mysql \
    php-any-other-available-package... 

Available Packages

This is the complete available packages list:

Package Name Type
php PHP Core
php-common PHP Core
php-fpm PHP Core
php-cgi PHP Core
php-apache2 PHP Core
php-doc PHP Core
php-dev PHP Core
-
php-sodium Core Extension
php-bcmath Core Extension
php-bz2 Core Extension
php-calendar Core Extension
php-ctype Core Extension
php-curl Core Extension
php-dba Core Extension
php-dom Core Extension
php-embed Core Extension
php-enchant Core Extension
php-exif Core Extension
php-ftp Core Extension
php-gd Core Extension
php-gettext Core Extension
php-gmp Core Extension
php-iconv Core Extension
php-imap Core Extension
php-intl Core Extension
php-json Core Extension
php-ldap Core Extension
php-litespeed Core Extension
php-mbstring Core Extension
php-mcrypt Core Extension
php-mysqli Core Extension
php-mysqlnd Core Extension
php-odbc Core Extension
php-opcache Core Extension
php-openssl Core Extension
php-pcntl Core Extension
php-pdo Core Extension
php-pdo_dblib Core Extension
php-pdo_mysql Core Extension
php-pdo_pgsql Core Extension
php-pdo_sqlite Core Extension
php-pear Core Extension
php-pgsql Core Extension
php-phar Core Extension
php-phpdbg Core Extension
php-posix Core Extension
php-pspell Core Extension
php-session Core Extension
php-shmop Core Extension
php-snmp Core Extension
php-soap Core Extension
php-sockets Core Extension
php-sqlite3 Core Extension
php-sysvmsg Core Extension
php-sysvsem Core Extension
php-tidy Core Extension
php-wddx Core Extension
php-xml Core Extension
php-xmlreader Core Extension
php-xmlrpc Core Extension
php-xsl Core Extension
php-zip Core Extension
php-zlib Core Extension
-
php-amqp Extra Extension
php-apcu Extra Extension
php-ast Extra Extension
php-ds Extra Extension
php-imagick Extra Extension
php-mailparse Extra Extension
php-memcached Extra Extension
php-mongodb Extra Extension
php-msgpack Extra Extension
php-pcov Extra Extension
php-phalcon Extra Extension
php-psr Extra Extension
php-redis Extra Extension
php-ssh2 Extra Extension
php-swoole Extra Extension
php-timecop Extra Extension
php-libsodium Extra Extension
php-scalar_objects Extra Extension
php-secp256k1 Extra Extension
php-xdebug Extra Extension
-
argon2 Extra Package
argon2-dev Extra Package
enchant Extra Package
enchant-doc Extra Package
enchant-dev Extra Package
libargon2 Extra Package
libsecp256k1 Extra Package

Life's good!

More Repositories

1

spa-starter-kit

A highly opinionated starter kit for building Single Page Applications with Laravel and Vue.js
PHP
913
star
2

laravel-jwt

Dead simple, plug and play JWT API Authentication for Laravel (5.4+)
PHP
234
star
3

codecasts

CODECASTS's source code
PHP
200
star
4

laravel

Laravel Skeleton By CODECASTS
PHP
49
star
5

rancher-deployer

Easily Upgrade Rancher Services
Shell
30
star
6

api-old

CODECASTS API
PHP
25
star
7

confee-web

CSS
17
star
8

confee-api

"Laravel Hardcore" video series API project
PHP
14
star
9

server-templates

PHP server templates for easy configuration
Nginx
10
star
10

github-pagination-parser

JavaScript
6
star
11

laravel-porn

6
star
12

restinga

Easily Create REST API Clients for your PHP Applications
PHP
6
star
13

serie-intro-quasar

Este é o código fonte gerado durante a série Introdução ao Quasar Framework
JavaScript
4
star
14

laravel-5.3-basico

Código fonte da série Laravel 5.3 Básico
PHP
4
star
15

serie-highcharts-vuejs

Código fonte da série Highcharts, Vue.js e Vuex.
Vue
4
star
16

modular

Aplicação Laravel 5 organizada em módulos
PHP
3
star
17

castor

PHP
3
star
18

app

CODECASTS V3 - APP
PHP
3
star
19

serie-intro-firebase

Código fonte da série Firebase.
JavaScript
2
star
20

slack-invite

slack.codecasts.rocks
PHP
2
star
21

disqus

PHP
2
star
22

presenter

PHP
1
star
23

laravel-api

Laravel API Skeleton
PHP
1
star
24

web

CSS
1
star
25

telegram-bot-php

1
star
26

ip-man

CLI IP Query Tool
1
star
27

vue-template

CSS
1
star
28

ambientum-cli

1
star
29

backup-confee

"Laravel Hardcore" video classes project.
PHP
1
star
30

support

CODECASTS Domain Tools, Support Package for our Laravel Skeleton
PHP
1
star
31

agendavel

Projeto da série "Laravel 5.1 Passo a Passo"
PHP
1
star
32

javascript-tips

JavaScript
1
star