deepDiverPaul d2802f728f feat(ext-blog): Add pagination and search to blog post listing
The PostsRepository now includes methods for fetching paginated and searched posts. The admin and public views include search forms, pagination controls, and display total counts instead of just post counts. Tests verify the new functionality including special character search handling and pagination limits.
2026-12-02 11:09:09 +01:00
2026-11-27 16:24:48 +00:00
2026-11-30 16:51:15 +01:00
2026-12-02 11:09:09 +01:00
2026-11-27 16:24:48 +00:00
2026-11-24 21:43:29 +00:00

Plugi

A fork of PHPagebuilder by Hans Schouten.

Plugi is a website boilerplate with a drag-and-drop page builder.

Quick installation

  1. Use PHP 8.4 with the PDO MySQL extension and a MySQL 8 database. The supplied Docker image is based on PHP 8.4.
  2. Copy .env.dist to .env and config.dist.php to config.php; set the database connection, public BASE_URL, and a unique admin username and password hash in .env.
  3. Create the database and a database user, deploy the project at the web root, and make uploads/ writable by the web server.
  4. Open the site, sign in at /admin/auth, and follow the Website Manager database update prompt to create/update the schema.

See the Plugi documentation for the full installation guide, including manual deployment, Docker development, security, and troubleshooting.

Multilingual pages

In Website Manager settings, enable the languages the site should use and select a default site language from that enabled list. Older installations without a saved default_language continue to use their saved admin_language value until a default is saved.

Each page translation has its own editable route. New routes use /slug for the default language and /{locale}/slug for other enabled languages. Saving a changed route adds a leading slash, removes trailing and repeated slashes (except /), and lowercases static path segments; route matching also ignores case and slash variants. Named parameters such as {id} and a trailing * wildcard remain supported.

Changing the default language affects new route suggestions but does not rewrite existing page URLs. Disabling a language makes its routes unavailable publicly while keeping its translations; re-enabling it restores those routes. See the Plugi documentation for the full guide.

Local Docker development

The supplied Compose stack uses PHP 8.4 and MySQL 8.0 and is for local development only. Copy .env.dist to .env and config.dist.php to config.php, replace the sample database and MySQL root passwords, then run:

docker compose up --build -d

The app is available at http://localhost:63000; Adminer is bound to localhost at http://localhost:63001.

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%