Docs

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 serve

Pick 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

SectionYou will learn
Getting startedComposer install, PHP basics, Pionia Shop tutorial, app layout
Building your APIMoonlight envelopes, services, actions, validation, generic CRUD
Database (Porm)Queries, filters, joins, pagination on products and related tables
HTTP & middlewareStatus codes, middleware chains, exceptions, routing
SecurityJWT login, #[Authenticated] / #[Can], security utilities
FrontendVite SPA, dev proxy to /api/v1/
Operations & deployCLI, RoadRunner, caching, logging, production optimize
Extending PioniaApp providers, Composer packages, helpers

Full index: Documentation hub.

Community & packages

Contributions welcome: open issues or PRs on pionia-docs.