GithubHelp home page GithubHelp logo

dmstr / docker-php-yii2 Goto Github PK

View Code? Open in Web Editor NEW
99.0 14.0 32.0 169 KB

:whale: :cd: Docker PHP image containing extensions and libraries for Yii 2.0 Framework

Shell 8.99% PHP 78.92% Makefile 0.55% Hack 11.54%
docker docker-php-image php base-image yii2

docker-php-yii2's Introduction

๐Ÿšจ This repository is abandoned, please use https://github.com/yiisoft/yii2-docker

Supported tags and respective Dockerfile links

โ„น๏ธ See repository tags for full version numbers

See all available image tags

build status

Changelog

8.x

  • using updated yii2 images
    • different system package installation
    • composer 2
  • removed standalone fpm image

7.x

  • switched to PHP 7.4

6.x

  • Alpine support has been dropped
  • Forego has been replace with supervisord
  • Removed Linkchecker

5.x

no stable release

4.x

  • added bash-autocompletion
  • removed separate xdebug flavour

Introduction

This is a Docker PHP image containing PHP extensions and composer packages and libraries for Yii 2.0 Framework. It is primarily intended to build Yii 2.0 applications FROM this image, see below for available application templates.

There is also an nginx flavour available for this image, in which PHP and nginx are managed with supervisor.

In older versions of the nginx images, forego was used for process control. However, since forego is no longer actively maintained and problems can arise if one of the started processes terminates unsuspectedly, we decided to switch to supervisor.

Features

CLI commands

  • composer
  • codecept
  • phpunit
  • npm

Extensions

  • soap
  • zip
  • curl
  • bcmath
  • exif
  • gd
  • iconv
  • intl
  • mbstring
  • opcache
  • pdo_mysql
  • pdo_pgsql
  • memcache
  • xdebug - installed, but not loaded by default

Configuration

ENV variables

  • GITHUB_API_TOKEN
  • PHP_ENABLE_XDEBUG
  • PHP_USER_ID (debian only)

Development

Building the images

docker-compose build

Development bash

docker run -it dmstr/php-yii2 bash

Resources


dmstr logo Built by dmstr

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.