deepDiverPaul 2b73242d04 security: add CSRF protection and harden core handling
Add CSRF token validation and include tokens in authentication, website manager, and GrapesJS forms and requests. Harden login with password hash verification and session ID regeneration, validate database identifiers and charset, and secure upload MIME detection and filename generation.

Update nullable type declarations and PHP syntax across core contracts and modules, switch the Docker image to PHP 8.4, and move the theme script asset to the end of the page. Refresh the PageBuilderBody distribution assets.
2026-11-24 09:26:15 +00:00
2026-11-22 20:35:52 +01:00
2023-07-10 21:34:23 +08:00
2026-11-22 20:35:52 +01:00
2023-06-09 10:30:58 +08:00
2023-07-10 21:34:23 +08:00
2023-08-20 23:45:24 +08:00
2023-07-10 21:27:43 +08:00
2023-06-09 08:50:58 +08:00

Plugi

A fork of PHPagebuilder by Hans Schouten.

Still a work-in-progress

This boilerplate defines the project structure for quickly creating a website that can be managed with a drag and drop pagebuilder.

Installation

To setup your website download the latest version of Plugi and upload it to the webroot directory of your website.

Edit the config file

The file config.php holds all the basic configuration for your project. Edit as needed. Be sure to update the login-credentials.

Login

Now you should be able to log in to the admin panel by going to the /admin URL of your website using admin and admin (you can change these in the config file). If you are able to login you can start building your website.

Note: make sure to disable error reporting in index.php once your website goes into production!

Docker

Simply run docker-compose up -d using the supplied docker-compose.yml. The image uses PHP 8.2

S
Description
A lightweight PHP-based website builder with a drag-and-drop page editor, theming system, and extensible plugin architecture.
https://plugi.paulspenke.com
Readme MIT
26 MiB
Languages
PHP 82.5%
JavaScript 12.9%
CSS 2.8%
SCSS 1.5%
HTML 0.2%
Other 0.1%