laika-core

Laika Core Documentation

laikait/laika-core is the core of the Laika PHP Framework. It provides:

Most of it is reached through relays, static proxy classes in the Laika\Service namespace, for example Url::base() or Request::input('email'). Each relay forwards to a shared instance of a class in Laika\Core\....

Page Covers
Getting Started Installation, what happens at boot, path constants
Relays & the Container How Laika\Service\* relays resolve, the full relay list
HTTP Request, Validator, Response, Redirect, CORS, CSRF, ProxyTrust, sanitizers
URL, Client & IP Url, Page, Visitor (Client), Cookie, IP utilities
Configuration & App Config, Init, app key, Local, Hook, resources, MemoryManager
Templates Template, Asset, Meta, Context, Nav, Icon
Security Vault, Token (JWT), Uid, Unique, sanitizers, Regex
Files & Storage File, Directory, Upload, Image, Zip, MimeType, storage drivers
Utilities Date, Math, Cron, shell commands, PhpMetadataParser, Queue
Options & Activity Log The options table, the activities table, change logs
Errors & Exceptions The error handler and every exception class
Helper Functions Every global function and the hooks registered for templates
Upgrading What changed in 5.1.0 and 5.1.1

Three components keep their own detailed READMEs next to the code:

Conventions in These Pages