docsfs

package module
v1.9.1-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2026 License: MIT Imports: 1 Imported by: 0

README ΒΆ

Lerd

Open-source Herd-like local PHP development environment for Linux and macOS. Podman-native, rootless, with a built-in Web UI.

CI Release Platform Docs

Lerd Web UI

Lerd runs Nginx, PHP-FPM, and your services as rootless Podman containers, designed for PHP and Laravel developers on Linux (Ubuntu, Fedora, Arch, Debian) and macOS. No Docker. No sudo. No system pollution. Just lerd link and your project is live at project.test with HTTPS.

Built for PHP developers on Linux and macOS

If you're a PHP or Laravel developer on Linux or macOS and want frictionless local development β€” automatic .test domains, per-project PHP versions, one-click HTTPS, zero Docker β€” Lerd is built for you.

Features

  • 🌐 Automatic .test domains with one-command TLS
  • 🐘 Per-project PHP version (8.1–8.5), switch with one click
  • πŸ“¦ Node.js isolation per project (Node 22, 24)
  • πŸ–₯️ Built-in Web UI - 3-pane dashboard to manage sites, services, and logs from a browser
  • πŸ—„οΈ One-click services: MySQL, PostgreSQL, Redis, Meilisearch, RustFS, Mailpit, Stripe Mock, Reverb and more
  • πŸ“‹ Live logs for PHP-FPM, Queue, Schedule, Reverb, per site
  • πŸ”’ Rootless & daemonless - Podman-native, no Docker required
  • πŸ€– MCP server - let AI assistants (Claude Code, Windsurf, Junie) manage your environment directly
  • ⚑ Laravel-first, with Symfony, WordPress, and custom framework support

AI Integration (MCP)

Lerd ships a built-in Model Context Protocol server. Connect it to Claude Code, Windsurf, JetBrains Junie, or any MCP-compatible AI assistant and manage your dev environment without leaving the chat.

lerd mcp:enable-global   # register once, works in every project

Then just ask:

You: set up the project I just cloned
AI:  β†’ site_link()
     β†’ env_setup()    # detects MySQL + Redis, starts them, creates DB, generates APP_KEY
     β†’ composer install
     β†’ artisan migrate --seed
     βœ“  myapp β†’ https://myapp.test ready

60+ tools available: run migrations, manage services, toggle workers, tail logs, enable Xdebug, manage databases, manage PHP extensions, park directories, and more, all from your AI assistant.

πŸ“– MCP documentation

Why Lerd?

Lerd DDEV Lando Laravel Herd
Podman-native βœ… ❌ ❌ ❌
Rootless βœ… ❌ ❌ βœ…
Web UI βœ… ❌ ❌ βœ…
Linux βœ… βœ… βœ… ❌
macOS βœ… βœ… βœ… βœ…
MCP server βœ… ❌ ❌ ❌
Free & open source βœ… βœ… βœ… ❌

Install

curl -fsSL https://raw.githubusercontent.com/geodro/lerd/main/install.sh | bash
macOS beta

macOS support is in beta. Install via Homebrew:

brew install geodro/lerd/lerd
lerd install

Or if already installed:

brew upgrade lerd
lerd install

[!NOTE] See the beta installation docs for details.

Quick Start

cd my-laravel-project
lerd link
# β†’ https://my-laravel-project.test

lerd install already starts everything for you on first run, so you can lerd link immediately. Day-to-day:

lerd start          # boot DNS, nginx, PHP-FPM, services, workers, UI
lerd stop           # stop containers and workers (UI and watcher stay up)
lerd quit           # full shutdown including UI, watcher, and tray
lerd autostart enable   # boot lerd on every login
lerd status         # health snapshot

See Start, Stop & Autostart for the full lifecycle reference.

Documentation

πŸ“– geodro.github.io/lerd

License

MIT

Documentation ΒΆ

Index ΒΆ

Constants ΒΆ

This section is empty.

Variables ΒΆ

Functions ΒΆ

This section is empty.

Types ΒΆ

This section is empty.

Directories ΒΆ

Path Synopsis
cmd
lerd command
lerd-tray command
internal
cli
dns
envfile
Package envfile provides helpers for reading and updating .env files while preserving comments, blank lines, and line order.
Package envfile provides helpers for reading and updating .env files while preserving comments, blank lines, and line order.
git
man
mcp
php
serviceops
Package serviceops contains the shared business logic for installing, starting, stopping, and removing lerd services.
Package serviceops contains the shared business logic for installing, starting, stopping, and removing lerd services.
services
Package services provides a platform-agnostic abstraction over the underlying service manager (systemd on Linux, launchd on macOS).
Package services provides a platform-agnostic abstraction over the underlying service manager (systemd on Linux, launchd on macOS).
ui
version
Package version holds build-time version information injected via ldflags.
Package version holds build-time version information injected via ldflags.
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL