LeafCMS GitHub Install
Laravel 13 · MIT

One core
for company sites and more

Company sites, blogs, and multiple sites. News, products, jobs, and members are published in the admin. Themes pull that content with one set of tags. HTML is enough to change the look.

PHP 8.3 or newer. After install you can open the site and the admin. Change the initial account before going live.

PHP 8.3+One program. SQLite or MySQL.
MITOpen source and commercial use. No separate license to buy.
9 themesCompany, blog, download, and directory skins can be switched any time.
@cms*Sections, entries, and banners all use this one tag set.

What you use to build a site

Publishing, changing the skin, and running more than one site 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.

Multiple sites

Several domains share one install. Each site keeps its own sections, entries, and members.

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

Install with Docker, the command line, or the web wizard. All three open the site and the admin.

1
Prepare

Have PHP 8.3 and Composer. Docker also loads the demo content on first start.

2
Install

Run the installer. Add the demo flag if you want sample sections and entries.

3
Open the site

The front is what visitors see. The admin is where you publish and change settings. Replace the initial account before going live.

Install commands

docker compose up --build

# 或命令行
composer install
php artisan key:generate
php artisan cms:install --demo
php artisan serve

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.

Group @sanpang