Everything you need to build versioned JSON APIs with Pionia v3.
Hands-on pages follow one small store so names stay consistent:
Requires PHP 8.5+. Tutorial services: product, customer, order, wallet.
| Table | What it stores |
|---|---|
products | Catalog (name, price, stock) |
customers | Shoppers (email, password_hash) |
orders / order_items | Checkouts and line items |
wallets / wallet_transactions | Balance and top-ups / payments |
Build it in the Pionia Shop tutorial.
Install Pionia and meet Pionia Shop.
15 steps — scaffold through deploy.
Copy-paste curl payloads and JSON envelopes.
| Order | Guide | Description |
|---|---|---|
| 1 | Introduction | Install with Composer, first ping, meet Pionia Shop |
| 2 | PHP basics | Minimum PHP (optional) |
| 3 | Pionia Shop tutorial | Catalog, checkout, and wallet step by step |
| 4 | Glossary | service, action, switch, envelope |
| Type | Reader goal | Examples |
|---|---|---|
| Tutorials | Hands-on; build Pionia Shop | Shop tutorial |
| Topic guides | Understand concepts | Moonlight overview, Auth |
| Reference | Look up APIs and config | Helpers, Porm API |
| How-to guides | One task, one recipe | RoadRunner, Maintenance |
| Layer | Topics |
|---|---|
| Getting started | Composer install, PHP basics, Pionia Shop tutorial, app structure, v3 changelog |
| Building your API | Moonlight, services, actions, validation, generic CRUD, API docs |
| Database (Porm) | Migrations, configuration, queries, filtering, joins, pagination, connections |
| HTTP | Envelopes, welcome page, middleware, exceptions, routing, collections |
| Security | JWT, authentication backends, authorization in services |
| Frontend | Vite SPA scaffold, dev proxy, production build |
| Operations | CLI, bench, RoadRunner, caching, logging, maintenance, production optimize |
| Extending | App providers, Composer packages, helpers, maintainer notes |
Services · Actions · Validation · Generic services · Moonlight overview · Documenting your API
Migrations · Getting started · Making queries · Filtering · Joins · Pagination
Requests & responses · Welcome page & branding · Middleware · Exceptions · Routing
JWT authentication · Protecting actions · Authentication · Security utilities
Vite integration · RoadRunner · Production performance · CLI · Benchmarking · Caching · Logging
App providers · Composer packages · Maintainer notes
storage/logs/ with DEBUG=true in .envcomposer create-project template/stats when DEBUG or STATS_ENABLED is onphp pionia new is for framework contributors only; apps install via composer create-project pionia/pionia-app./documentation/getting-started/introduction/ not /documentation/introduction/ (redirects exist but paths moved).