Deprecated: Using unqualified constant 'STR_PAD_LEFT' is deprecated. Use '\STR_PAD_LEFT' with a leading backslash on line 57 at column 97 in /var/www/phlat.page/releases/19/vendor/latte/latte/src/Latte/Compiler/Nodes/Php/NameNode.php on line 41
Addons | PhlatPage

Batteries included, all optional.

Built-in addons.

PhlatPage ships its extras as addons. Each is a folder you can switch off, override or learn from.

01

Admin

The editing interface: a page tree, field editors, a live preview, drafts and history. It is mounted as ordinary pages, so it follows the same permissions as the rest of your site.

02

UI

daisyUI components as Latte partials. Every parameter is optional, and the same item vocabulary drives menus, lists and cards, so you can hand them pages directly.

{include '@ui/button.latte',
    title: 'Save',
    color: 'primary',
    icon: 'check'
}
03

Theme

Design a daisyUI theme in the admin and see it applied across the real site in the preview. It is emitted as a style block, so there is no Tailwind rebuild.

04

Icons

The Lucide icon set behind one tag. Icons draw from a single cached sprite, so fifty icons on a page cost one request.

{icon('arrow-right', 'size-5')}
05

Fonts

A library of self-hosted web fonts. Name the families in your config and they load from your own server, with no third-party requests.

06

Clockwork

Request profiling in your browser devtools while debug is on: the page, request, session and config of every request, and the queries and timings behind it.

07

CLI

Scaffold pages, manage users, back up and repair the registry from the terminal. It runs outside the request cycle and your own commands join it.

phlat make:page blog/hello --view=article
phlat registry:rebuild
phlat backup:create

Batteries included, all optional.