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.
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
