All Projects → ChrisB9 → php8-xdebug

ChrisB9 / php8-xdebug

Licence: other
PHP 8.0 for development and production usage. With nginx, brotli, xdebug, JIT and more...

Programming Languages

Dockerfile
14818 projects
rust
11053 projects
shell
77523 projects
PHP
23972 projects - #3 most used programming language
Vim Script
2826 projects

Projects that are alternatives of or similar to php8-xdebug

cli
Aplus Framework CLI Library
Stars: ✭ 104 (+511.76%)
Mutual labels:  composer, php8
static-php-cli
Build single static PHP binary in linux, build with PHP project together, with Swoole and other popular extensions included.
Stars: ✭ 129 (+658.82%)
Mutual labels:  php-cli, php8
aplus
Aplus Command Line Tool
Stars: ✭ 71 (+317.65%)
Mutual labels:  composer, php8
database
Aplus Framework Database Library
Stars: ✭ 147 (+764.71%)
Mutual labels:  composer, php8
routing
Aplus Framework Routing Library
Stars: ✭ 186 (+994.12%)
Mutual labels:  composer, php8
php-mime-detector
Detect a file's mime type using magic numbers.
Stars: ✭ 20 (+17.65%)
Mutual labels:  composer, php8
dnmp
docker-compose部署LNMP环境 Nginx/Openresty、MySQL(5.7、8.0、8.1)、PHP7.4(8.0、5.6)、Redis5.0、PHPMyAdmin、Xdebug、RabbitMQ、Nacos
Stars: ✭ 138 (+711.76%)
Mutual labels:  xdebug, php8
autoload
Aplus Framework Autoload Library
Stars: ✭ 18 (+5.88%)
Mutual labels:  composer, php8
alpine-php-fpm
Lightweight and optimised PHP-FPM (PHP 7.4, 8.0, 8.1) Docker images with essential extensions on top of latest Alpine Linux.
Stars: ✭ 53 (+211.76%)
Mutual labels:  composer, php8
pagination
Aplus Framework Pagination Library
Stars: ✭ 167 (+882.35%)
Mutual labels:  composer, php8
http
Aplus Framework HTTP Library
Stars: ✭ 113 (+564.71%)
Mutual labels:  composer, php8
homebrew-extensions
🍻 Homebrew tap for PHP extensions
Stars: ✭ 264 (+1452.94%)
Mutual labels:  xdebug, pcov
email
Aplus Framework Email Library
Stars: ✭ 127 (+647.06%)
Mutual labels:  composer, php8
validation
Aplus Framework Validation Library
Stars: ✭ 99 (+482.35%)
Mutual labels:  composer, php8
docker-laravel-8
A simple Docker - Laravel 8 - MySQL - Redis - PHPAdmin - NGINX - PHP 7.4 - Composer - Artisan - XDebug
Stars: ✭ 130 (+664.71%)
Mutual labels:  composer, xdebug
Pdt
PHP Development Tools project (PDT)
Stars: ✭ 135 (+694.12%)
Mutual labels:  composer, xdebug
session
Aplus Framework Session Library
Stars: ✭ 170 (+900%)
Mutual labels:  composer, php8
laravel-survey
Laravel 6 survey app.
Stars: ✭ 39 (+129.41%)
Mutual labels:  composer, brotli
app
Aplus Framework App Project
Stars: ✭ 338 (+1888.24%)
Mutual labels:  composer, php8
doclite
PHP NoSQL database and document store
Stars: ✭ 57 (+235.29%)
Mutual labels:  php8

CI

PHP 8.0 for development and production

Note:
This image is transitioning from a simple dev image to a more configurable and extensible image
Therefore it is currently being pushed into two different docker repositories:
(old:) https://hub.docker.com/r/chrisb9/php8-nginx-xdebug
(new:) https://hub.docker.com/r/chrisb9/php8

The Images:

There are three image configurations in two different types:

Image Type Image Variant With nginx
Alpine dev and prod yes
Debian dev and prod yes
CLI dev and prod no

current features

  • nginx based image: nginx with brotli and http2 enabled
  • dev image: php 8.0 (with xdebug, opcache, ffi, and jit enabled by default)
  • prod image: php 8.0 (with opcache, and jit enabled by default)
  • dev image: xdebug 3.0 (set to profile, debug and develop-mode)
  • dev image: pcov
  • composer v2.0 (composer 1.0 has been removed)
  • bash (with auto-completion extension and colored)
  • webp and image-optimizers
  • mariadb support
  • cli image: no fpm and no nginx preinstalled - this is your smaller variant, not based on alpine (yet)

planned:

  • mongodb support
  • apache-based image
  • easier extension installation
  • tideways profiler with perf-tools enabled

This repository does only provide Dockerfiles for php 8.0 and upwards.
If there is enough traction, I might add PHP 7.4 too (or feel free to add it)

docker-socket

If docker socket has been mounted as a volume into the container,
then each startup checks the availability of the docker command and if not available installs it.

Note: This is currently only available in alpine images: WIP

xdebug settings:

Some xdebug settings have been preconfigured, such as:

  • xdebug.mode=profile,develop,coverage
  • xdebug.client_port=9003
  • xdebug.discover_client_host=1
  • xdebug.idekey=PHPSTORM

Through the environment-variable XDEBUG_HOST the client_host can be changed on login

xdebug tools:

  • xdebug-enable enabled xdebug and restarts php
  • xdebug-disable disables xdebug and restarts php

testing this dockerfile:

just run git clone && docker-compose up -d
then open up your browser and go to this container.

in the app-folder are two files index.php and Test.php. They are meant as a playground to test the newest features of php 8.0

Contributing

todo...

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].