main
Plugi
A lightweight PHP-based website builder with a drag-and-drop page editor, theming system, and extensible plugin architecture.
A fork of PHPagebuilder by Hans Schouten.
Quick Start
Follow the installation guide for complete manual deployment and local Docker instructions. In brief:
- Use PHP 8.4 with
pdo_mysqland MySQL 8.0 or a compatible database. - Copy
.env.distto.envandconfig.dist.phptoconfig.php. - Configure the database, public
BASE_URL, and a unique admin login in.env; create the database and user. - Sign in at
/admin/authand apply the schema through the Website Manager database update flow.
For local development only, the Compose stack starts with:
docker compose up --build -d
Then open http://localhost:63000. Do not use the supplied Compose stack as a production deployment.
Key Features
- Page Builder — Visual drag-and-drop editor powered by GrapesJS for designing pages without code.
- Theming System — Create custom themes with reusable blocks, layouts, and static pages.
- Extensions — Extend functionality with plugins that add routes, admin pages, blocks, and more.
- Multilingual — Built-in translation support for pages, themes, and extensions.
- Caching — Optional page caching for production performance.
- Database-Driven — All content is stored in MySQL; create or update the schema through the Website Manager.
Documentation
| Section | Description |
|---|---|
| Installation | Manual deployment, local Docker development, database setup, and security guidance. |
| Getting Started | Requirements and a short setup overview. |
| Configuration | Full reference for .env and config.php settings. |
| Themes | How to create and structure custom themes with blocks and layouts. |
| Extensions | How to build extensions that add routes, admin pages, blocks, and more. |
Requirements
- PHP 8.4
- MySQL 8.0 or higher
- Apache web server for the documented manual setup
- PDO MySQL extension enabled
Project Structure
project-root/
├── index.php # Entry point
├── config.php # Configuration
├── .env # Environment variables
├── plugi-core/ # Core framework
├── extensions/ # Extensions (plugins)
├── themes/ # Themes
├── uploads/ # User-uploaded files
└── docs/ # Documentation
License
Plugi is open-source software under MIT License.
Languages
HTML
100%
