7,380 open-source and SaaS tools, with GitHub stats refreshed every day.

LNMP

Open source

LNMP Docker is a Docker Compose setup that starts a PHP development stack with Nginx and MySQL in about two minutes and extends to production and CI.

docs.lnmp.khs1994.com
LNMP homepage screenshot
GitHub stars
674
Last commit
yesterday
Repository age
9 years
Version
v24.11.0
Licence
Apache-2.0
Self-hosted
Yes

About LNMP

LNMP Docker, from khs1994-docker, helps PHP developers stand up a Linux, Nginx, MySQL and PHP stack on containers with a single command, ./lnmp-docker up. It is powered by Docker Compose and aims to bring up a working environment in under two minutes, then reuse the same container approach for testing and production, including Kubernetes and Drone-based CI/CD.

Users put their PHP project, for example a Laravel app, in the app folder and add an Nginx config, with the project folder adjustable through a setting. The tool offers wrapper commands for PHP, Composer, PHPUnit and Laravel, SSL certificates through acme.sh including self-signed ones, listing and managing containers, and building your own images from the Dockerfiles. The README warns not to edit files other than the environment file and notes that running Laravel on Docker for Windows can be slow. Most documentation is in Chinese, with a note about registry mirrors for users in China.

It runs on Windows 10 with WSL, Linux, macOS and ARM Debian devices and needs Git, Docker and Docker Compose 2.17 or newer. LNMP Docker is licensed under Apache-2.0.

Key features

  • One-command LNMP stack with Docker Compose
  • Wrappers for PHP, Composer and PHPUnit
  • Laravel-friendly project layout
  • SSL certificates via acme.sh
  • Kubernetes and Drone CI support
  • Self-build Docker images

Good fit for

  • →Local PHP development environments
  • →Container-based testing and deployment for PHP
Tags
lnmp
docker-compose
php
laravel
nginx
devops
docker
development-environment

LNMP: questions and answers

What is LNMP used for?
LNMP Docker is a Docker Compose setup that starts a PHP development stack with Nginx and MySQL in about two minutes and extends to production and CI. It is a good fit for local PHP development environments, and container-based testing and deployment for PHP.
Is LNMP open source?
Yes. LNMP is open source under the Apache-2.0 licence. Its source code is on GitHub at khs1994-docker/lnmp.
Is LNMP free?
Yes. LNMP is open source, so the software itself is free to use.
What are some alternatives to LNMP?
Similar open-source tools in the Developer Tools category include Vagrant, Distrobox and PHP Insights. SaaS products in the same category include PhpStorm, Codacy and GoLand.
Is LNMP actively maintained?
Yes. The most recent commit to LNMP was on 2 October 2026, and the latest release is v24.11.0, published on 24 August 2025. The project has 674 stars on GitHub.

Open-source alternatives to LNMP

See all

SaaS alternatives to LNMP

See all