Install with Composer, scaffold your app, and follow the same example throughout: Pionia Shop — an online store + wallet API (product, customer, order, wallet on port 8000).
composer create-project pionia/pionia-app pionia-shop
cd pionia-shop && php pionia servePick your learning path
Try the tutorial
Build Pionia Shop hands-on — from ping to product.list.
Read the guides
Moonlight, services, Porm, and security concepts.
Browse examples
Copy-paste curl payloads and JSON envelopes.
What these docs cover
| Section | You will learn |
|---|---|
| Getting started | Composer install, PHP basics, Pionia Shop tutorial, app layout |
| Building your API | Moonlight envelopes, services, actions, validation, generic CRUD |
| Database (Porm) | Queries, filters, joins, pagination on products and related tables |
| HTTP & middleware | Status codes, middleware chains, exceptions, routing |
| Security | JWT login, #[Authenticated] / #[Can], security utilities |
| Frontend | Vite SPA, dev proxy to /api/v1/ |
| Operations & deploy | CLI, RoadRunner, caching, logging, production optimize |
| Extending Pionia | App providers, Composer packages, helpers |
Full index: Documentation hub.
Community & packages
- Resources — Packagist packages, CLI cheatsheet, getting help
- GitHub — PioniaPHP-project — core, app template, and docs repos
- Packagist — pionia/pionia-app —
composer create-projecttemplate - Packagist — pionia/pionia-core — framework library your app depends on
- OSCA Kampala Chapter — local open-source community
Contributions welcome: open issues or PRs on pionia-docs.