PHPackages                             kfiros/this-is-not-xampp - 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. [Database &amp; ORM](/categories/database)
4. /
5. kfiros/this-is-not-xampp

ActiveProject[Database &amp; ORM](/categories/database)

kfiros/this-is-not-xampp
========================

A template to set up a local PHP development environment using Docker

3.0(1y ago)02MITPHP

Since Nov 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/realKfiros/this-is-not-xampp)[ Packagist](https://packagist.org/packages/kfiros/this-is-not-xampp)[ Docs](https://github.com/realKfiros/this-is-not-xampp)[ RSS](/packages/kfiros-this-is-not-xampp/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (4)Used By (0)

Friendship ended with XAMPP! Now docker is my best friend
=========================================================

[](#friendship-ended-with-xampp-now-docker-is-my-best-friend)

[![Packagist Version](https://camo.githubusercontent.com/c05b73db92649d147a0cab8653f16fd2572486627dbbc517cb20f406054ae542/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b6669726f732f746869732d69732d6e6f742d78616d7070)](https://camo.githubusercontent.com/c05b73db92649d147a0cab8653f16fd2572486627dbbc517cb20f406054ae542/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b6669726f732f746869732d69732d6e6f742d78616d7070)

This is a simple docker-compose setup for local PHP development environment. It includes the following services:

- PHP - `php:8.2-apache`
- MySQL - `mysql:8.0`
- phpMyAdmin - `phpmyadmin/phpmyadmin`
- xdebug (preconfigured to work with PhpStorm)

Requirements
------------

[](#requirements)

- [Docker desktop](https://www.docker.com/products/docker-desktop)
- [Docker compose](https://docs.docker.com/compose/install/)
- [Composer](https://getcomposer.org/download/)

Environment setup
-----------------

[](#environment-setup)

Run the following commands to setup the project:

```
composer create-project kfiros/xampp-to-docker [project-name]
```

Alternatively you can copy the files to a directory or clone the repository.

Usage
-----

[](#usage)

1. Run `docker compose up` if you have docker 3.6 or newer, or `docker-compose up` if you have an older version.
2. Open your browser and navigate to `http://localhost` to see the magic (and `http://localhost:8081` for phpMyAdmin).

MySQL gotchas
-------------

[](#mysql-gotchas)

- The MySQL data is stored in the `mysql-data` directory. If you want to reset the database, you can delete this directory.
- To access the MySQL database from your code, the host is `host.docker.internal` and not `127.0.0.1`.

I have taken inspiration from [jlucky/docker-php-dev-env](https://github.com/jlucki/docker-php-dev-env/tree/master) that does the same thing but with `nginx` instead of `apache`. I have also added `phpMyAdmin` to the setup.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

532d ago

Major Versions

1.0 → 3.02024-11-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/33ec891ea722f1e68fcd631b2a23e5ee0f8215d5c4d3070c62a52fb3ffa9d097?d=identicon)[realKfiros](/maintainers/realKfiros)

---

Top Contributors

[![realKfiros](https://avatars.githubusercontent.com/u/25119408?v=4)](https://github.com/realKfiros "realKfiros (6 commits)")

---

Tags

phpmysqltemplateXdebugdocker

### Embed Badge

![Health badge](/badges/kfiros-this-is-not-xampp/health.svg)

```
[![Health](https://phpackages.com/badges/kfiros-this-is-not-xampp/health.svg)](https://phpackages.com/packages/kfiros-this-is-not-xampp)
```

###  Alternatives

[clouddueling/mysqldump-php

PHP version of mysqldump cli that comes with MySQL

1.3k22.9k](/packages/clouddueling-mysqldump-php)[eftec/pdoone

Minimaist procedural PDO wrapper library

1105.9k9](/packages/eftec-pdoone)[matthew-p/docker-server

Universal docker server, Nginx, PHP-FPM, MySql, Redis

112.8k](/packages/matthew-p-docker-server)[popphp/pop-db

Pop Db Component for Pop PHP Framework

1814.6k11](/packages/popphp-pop-db)

PHPackages © 2026

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