PPPHP documentation
How to build, secure and ship applications with PPPHP. These are the same guides that ship inside the product.
The Designer workspace
Drag, drop, select, reorder and style — how the visual page designer works.
Designer components
Every component you can place on a page, what it is for and how to use it.
Your app on a phone
Design the phone experience: a bottom tab bar, tap effects, offline reading, swipe-to-decide pages, a barcode scanner and an installable app.
Choice fields
Dropdowns, radio buttons, checkboxes and type-aheads — from a table, a preset or a list.
List pages
Filter, sort, colour rows, bulk actions — the list page and its events.
Add & Edit forms
Defaults, validation, calculated and dependent fields on data-entry forms.
Dashboards
KPI tiles, charts and widgets bound to live data.
Master / Detail
Parent and child grids that read and write together.
View pages
The single-record page: layout, related grids and what each action does.
Print pages
Print-ready layouts for a record or a whole list.
Import & export
CSV and Excel in and out, with a column-mapping wizard.
Filters & page parameters
Filter panels, filter tabs and driving a whole page from one control.
Documents & PDF
Invoices, ledgers and statements on a printable sheet, with server-side PDF.
Payments & checkout
Take money from any page — Stripe, PayPal, Razorpay, Khalti, eSewa and Fonepay, with hosted checkout.
Subscriptions
Recurring plans and renewals on top of the payment gateways.
Bookings & appointments
Slots, availability and confirmations for an appointment-shaped app.
AI — two engines
Your AI provider and the model built into the browser: when each runs, and what “device only” guarantees.
In-app messaging
Mailroom: e-mail-like conversations between the people who use your app.
Databases & Data Studio
The built-in zero-server database, and browsing or editing any connected one.
Sensitive fields
Masking a value so it is shown only to the people allowed to see it.
Events
Where to put your own code: page, field and button events, step by step.
Working with data
Queries, relationships and the database helpers your app can call.
SQL variables
Dynamic filters with :userid, :session.x and :user.field.
Databases
Build once and host on MySQL, PostgreSQL, SQL Server or SQLite.
Search & filtering
Search boxes, filter panels and the query options behind them.
Calendars
Turning any date column into a month, week or day calendar.
PDF & printing
Per-record PDF pages, print layouts and export formatting.
Configuring SMTP and sending mail from your application.
SMS
Sending text messages from your application.
Notifications
In-app notifications and how to raise them.
Multiple languages
Offer your app in several languages, including Nepali.
Security
Roles, permissions, row-level security, encryption and auditing.
Helper functions
The shorthand functions available anywhere in your generated app.
JavaScript API
Client-side hooks for when a page needs behaviour of its own.