Changelog
1.0.0-dev
1.0 is a rewrite and is not compatible with 0.x.
- Routing moved from nginx into PHP. Pages live in
pages/outside the docroot andpublic/index.phpis the only entry point; fixes non-ASCII params,robots.txtbeing redirected, a0param giving 404 and more. - Explicit declarations.
params()andallow()replace 0.x's$_GET['key1']and "static source awareness". - Medoo removed in favour of parameterized SQL:
q/one/all/val/tx. - Lazy sessions and database: plain pages send no cookies and can be cached by a CDN.
- No fragments shared between pages (
partial()); reuse within a page is an in-page function. as_id();allow()can be called again to narrow URLs with params.locale($lang, false),csrf_exempt(),require_login(hidden: true).bin/ink: serve, routes, check, test, migrate.AGENTS.md: the complete contract for AI agents.
0.x
The early version with routing in nginx and params guessed by scanning source code.