LeafCMS GitHub Install
OPEN SOURCE. SELF-HOSTED. YOURS.

Make it yours.
Build on your terms.

From a company website to a personal publication. Keep content and themes together in a lightweight Laravel CMS.

MIT license PHP 8.4+ Laravel 13

One workspace for your websiteLeafCMS
Actual LeafCMS admin showing content, tasks and analytics View larger image ↗
Actual admin screenshot · local demo dataExplore the workflow →
PHP 8.4+One program. SQLite or MySQL.
MITOpen source and commercial use. No separate license to buy.
8 purpose-built themesPlus the official site theme and a default fallback.
@cms*Sections, entries, and banners all use this one tag set.

What you use to build a site

Publishing, changing the skin, and writing in more than one language all happen in the same system.

Template tags

Navigation, lists, banners, pagination, and forms are tags in the page. Themes do not query the database.

Content models

Articles, products, and downloads can have different fields. Published entries stay when you switch themes.

Languages

One entry can be written in several languages. The front uses paths such as /en. A missing translation uses the default language.

Members

Visitors can register, sign in, save, and comment. Member submissions appear on the front only after review.

Collect

Public feeds can be written in on a schedule. The same source item is stored once. It does not crawl a whole site.

Static files and cache

Pages can be written to static files or cached. After an entry or section changes, that page is built again.

Install, then open both sides

Choose Docker, the command line, or the web wizard. Use one method, then open the site and the admin.

1
Choose a method

Use the command here if you have Docker. With PHP 8.4+ and Composer, the guide also offers CLI and web installation.

2
Let installation finish

The first Docker start prepares the database and demo content. No other installer is needed. CLI and web installation let you choose your administrator.

3
Open the site

The default local port is 8000. Add /admin/login for the admin. The install guide explains accounts and live deployment.

Full installation guide

Try locally with Docker

Download the source, open the project directory, then run:

docker compose up --build

After startup, open http://127.0.0.1:8000/
Admin sign-in http://127.0.0.1:8000/admin/login

Web and CLI installation are two alternative methods. See the full guide for their steps, admin accounts, and ports.

Extend it without replacing it

A new look is a theme folder. Copy one in the admin or upload a zip. The front keeps using the same tags.

Image preview

Group @sanpang