Add a complete documentation site for Plugi with the following pages: - Readme.md: project overview, quick start, and key features - GettingStarted.md: installation guide, requirements, and first steps - Configuration.md: full reference for .env and config.php settings - Themes.md: theme structure, blocks, layouts, and asset compilation - Extensions.md: extension architecture, routes, blocks, and admin pages Also add index.html (Docsify entry point), _sidebar.md (navigation), favicon.ico, and .nojekyll to prevent GitHub Pages from interfering.
2.4 KiB
2.4 KiB
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
Get up and running in minutes:
- Download Plugi and upload it to your webroot.
- Create a
.envfile with your database credentials. - Copy
config.dist.phptoconfig.phpand adjust settings. - Navigate to
/adminand log in with the default credentials (admin/admin).
Or use Docker for a quick local setup:
docker-compose up -d
Then open http://localhost:63000/admin in your browser.
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 stored in MySQL with automatic schema management.
Documentation
| Section | Description |
|---|---|
| Getting Started | Installation, requirements, and first steps. |
| 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.2 or higher
- MySQL 8.0 or higher
- Apache or Nginx web server
- 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.
