Your next API.
A little simpler.
Build around what your app does. Pionia brings services, data, and authentication together behind a versioned JSON API.
composer create-project pionia/pionia-app pionia-shopOpen source · PHP 8.5+ · Your application, your infrastructure
/api/v1/JSON{
"service": "product",
"action": "list"
}{
"returnCode": 0,
"returnMessage": "OK",
"returnData": {
"products": [
{ "id": 1, "name": "Ada Mug" }
]
},
"extraData": null
}Make something real.
Follow the Pionia Shop tutorial, or go straight to the guide you need.
A small shop.
A solid foundation.
Create a catalog API, add validation and staff permissions, then prepare it for deployment.
Start the 15-part guide 02 / Build your APIGive your app
its capabilities.
Understand switches, services, and actions. Add validation and document your API.
Explore Moonlight 03 / Ship with confidenceReady for
real requests.
Run RoadRunner, configure logging, and prepare your application for production.
Deployment guidesFind your next answer.
Database & Porm
Migrations, queries, joins, and transactions.
02Authentication & permissions
JWTs, account identity, and action access.
03HTTP & middleware
Requests, responses, and shared behavior.
04Your frontend
Connect a Vite app to your Moonlight API.
05CLI reference
Scaffold, inspect, and operate your app.
06Extend Pionia
Providers, packages, and framework helpers.