Apps
Building Basehim apps: the manifest and lifecycle, hooks, the App API, admin screens, AJAX actions, permissions, content types and blocks.
24 articles
-
Admin screens, routes and UI components
Add pages to the admin with adminGet() and adminPost(), control who can open them, handle forms safely with CSRF tokens and flash messages, and use the admin's buttons, cards, dialogs and toasts. Public pages have their own guide.
-
The App API: content, cache, mail, HTTP and scheduling
Everything an app can ask core for through $this->api() - posts, pages, custom types, media, users, comments, terms, menus, settings, cache, mail, outbound HTTP and scheduled tasks - with examples.
-
Hooks and filters
How actions and filters work in Basehim, with the complete list of core hooks - content, users, comments, media, mail, admin, editor, SEO, MCP and routing - and the arguments each one passes.
-
App development
How a Basehim app is structured: the app.json manifest, the entry class, lifecycle methods, what boot() is for, the helpers the base class gives you, and how to package and publish an app.