Search by

lapis / app

toros.egon

A new site on Lapis CMS

v1.0.0 2026-12-01 22:14 UTC

This package is auto-updated.

Last update: 2026-12-01 22:15:47 UTC


README

A site on Lapis CMS: file-routed pages, inline editing, SQLite (or MySQL, PostgreSQL).

composer install
./lapis setup        # .env with a signing key, storage, vendor assets, the first account

Serve public/ on a secure origin — php -S localhost:8000 -t public/ locally, or HTTPS for custom local domains and production (Lapis checks the browser's Sec-Fetch-* headers) — then sign in at /_lapis/login.

Where things are

  • pages/: the routes. index.php is /, [slug].php any page made in the toolbar, _404.php the not-found page. Folders, [param] and [...catchall] work too.
  • components/: <x-layout> and other components (x-name.view.php).
  • assets/: CSS and JS, loaded through importmap.php (./lapis importmap:require <package>).
  • lapis.config.php: language, global settings, page types.
  • Add data/ for your own tables, forms/ for forms, app/ for PHP classes when you need them.

./lapis lists the commands, and ./lapis doctor checks a server before going live.

For coding agents: .agents/skills/lapis/ is Lapis's skill, in the open Agent Skills format (./lapis skill:install --force after updating Lapis). The site's own notes for agents go in AGENTS.md.

The documentation: lapis-cms.dev.