PHPackages                             docker-xampp/bin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. docker-xampp/bin

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

docker-xampp/bin
================

docker images docker/xampp (DEPRECATED: Use https://github.com/kaluzki/env instead)

41.3k1Shell

Since Mar 18Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/kaluzki/docker-xampp)[ Packagist](https://packagist.org/packages/docker-xampp/bin)[ RSS](/packages/docker-xampp-bin/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (1)

XAMPP Docker Environment
========================

[](#xampp-docker-environment)

This project provides a modular Docker-based development environment, inspired by the classic XAMPP stack but built with modern containerization principles.

Overview
--------

[](#overview)

The goal is to offer a flexible and robust environment for PHP development, moving away from monolithic containers (like `webdevops/*`) towards a service-oriented architecture where each container handles a specific responsibility.

### Key Features

[](#key-features)

- **Modular Architecture**: Separate containers for PHP, Apache (HTTPD), Node.js, and other services.
- **Non-Root Execution**: Containers are designed to run as a non-root user by default for better security.
- **Modern Tooling**: Includes support for Composer, Xdebug, and other essential development tools.
- **Customizable**: Easily extensible via Dockerfiles and configuration scripts.

Project Evolution
-----------------

[](#project-evolution)

### Origins

[](#origins)

Initially motivated by `webdevops/*` images, this project started as a way to provide a comprehensive development stack. However, the "fat container" approach (running multiple processes like SSH, Cron, and Supervisor in a single container) proved inflexible and difficult to maintain.

### Legacy Management (`bin/` &amp; `composer.json`)

[](#legacy-management-bin--composerjson)

Historically, this project included a set of management scripts in `bin/` (e.g., `xampp-start`, `xampp-env`). These were distributed via `composer.json` to allow easy installation. While these files remain in the repository for historical reference, they are **deprecated**.

### Current State

[](#current-state)

The project is currently undergoing a major refactoring:

- **Migration**: Moving from legacy `src/*` images to a cleaner structure under `docker/*`.
- **Decoupling**: Splitting services into dedicated containers (`xampp/base`, `xampp/php`, `xampp/httpd`, etc.).
- **Management**: The legacy `bin/*` scripts have been superseded by [kaluzki/env](https://github.com/kaluzki/env) for better environment management.

> **Note**: Experimental support for PHP 8.1 (since Feb 2024), 8.3 (since Nov 2024), and 8.4 (since Jul 2025) based on the legacy `webdevops` architecture is available. These images were available on Docker Hub for some time but were only recently committed to the repository.

Docker Hub
----------

[](#docker-hub)

Official images are published and maintained at:

Directory Structure
-------------------

[](#directory-structure)

- `docker/`: Contains the source for modern, modular Docker images.
    - `base/`: Base image with common configurations.
    - `php/`: PHP-FPM images.
    - `httpd/`: Apache HTTPD images.
    - `node/`: Node.js development images.
- `src/`: Legacy monolithic images (deprecated).
- `bin/`: Legacy management scripts (deprecated).

Usage
-----

[](#usage)

It is recommended to use [kaluzki/env](https://github.com/kaluzki/env) to manage your development environment using these images.

### Example Configuration

[](#example-configuration)

The following `compose.yml` demonstrates how to set up a PHP-FPM and Apache environment using Unix sockets for communication. Note that containers run as non-root users.

```
networks:
  default:
    # Use an external network managed by kaluzki/env or similar
    name: ${ENV_NET-env}
    external: true

volumes:
  # Shared volume for Unix socket communication between PHP-FPM and Apache
  php-socket:

services:
  php:
    image: xampp/php
    hostname: ${COMPOSE_PROJECT_NAME}-php
    volumes:
      - .:/app
      # Mount the socket volume to allow Apache to communicate with PHP-FPM
      - php-socket:/var/run/php

  httpd:
    image: xampp/httpd
    depends_on:
      - php
    hostname: ${COMPOSE_PROJECT_NAME}-httpd
    volumes:
      - .:/app
      # Mount the socket volume to access the PHP-FPM socket
      - php-socket:/var/run/php
    labels:
      # Traefik configuration for reverse proxying
      - traefik.enable=true
      - traefik.http.routers.${COMPOSE_PROJECT_NAME}-httpd.entrypoints=443
      - traefik.http.routers.${COMPOSE_PROJECT_NAME}-httpd.tls=true
      - traefik.http.routers.${COMPOSE_PROJECT_NAME}-httpd.rule=Host(`${ENV_URL:-${COMPOSE_PROJECT_NAME}.app.localhost}`)
```

License
-------

[](#license)

See [LICENSE](LICENSE) file.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance59

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1521167?v=4)[Kaluzki Demjan](/maintainers/kaluzki)[@kaluzki](https://github.com/kaluzki)

---

Top Contributors

[![kaluzki](https://avatars.githubusercontent.com/u/1521167?v=4)](https://github.com/kaluzki "kaluzki (93 commits)")

### Embed Badge

![Health badge](/badges/docker-xampp-bin/health.svg)

```
[![Health](https://phpackages.com/badges/docker-xampp-bin/health.svg)](https://phpackages.com/packages/docker-xampp-bin)
```

###  Alternatives

[deployer/deployer

Deployment Tool

11.0k25.4M207](/packages/deployer-deployer)[appwrite/server-ce

End to end backend server for frontend and mobile apps.

55.3k84.2k](/packages/appwrite-server-ce)[pragmarx/health

Laravel Server &amp; App Health Monitor and Notifier

2.0k1.0M2](/packages/pragmarx-health)[felixfbecker/language-server-protocol

PHP classes for the Language Server Protocol

22476.7M6](/packages/felixfbecker-language-server-protocol)[heroku/heroku-buildpack-php

Toolkit for starting a PHP application locally, with or without foreman, using the same config for PHP and Apache2/Nginx as on Heroku

8161.3M10](/packages/heroku-heroku-buildpack-php)[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4674.7k](/packages/tiamo-phpas2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
