Up in minutes
composer require hideyukimori/nene2 and you have a running JSON API with health checks, request IDs, and Problem Details errors — before you write a single route.
Build JSON APIs fast. OpenAPI and MCP built in. AI-ready from day one.
composer require hideyukimori/nene2 and you have a running JSON API with health checks, request IDs, and Problem Details errors — before you write a single route.
Every endpoint you ship comes with an OpenAPI contract. Swagger UI is included. The contract is what you hand to your client, not an afterthought.
A local MCP server exposes your API as tools that AI agents (Claude, Cursor) can call directly. No special integration — it reads from your OpenAPI catalog.
Every error response is a Problem Details object — a machine-readable JSON structure with type, title, status, and detail. No raw exceptions in production.
UseCase → RepositoryInterface → PDO adapter. Each layer is testable in isolation. No magic, no hidden wiring, no framework bleeding into your domain.
Static analysis at the strictest level. If it passes PHPStan, it won't surprise you at runtime. Works alongside PHPUnit and PHP-CS-Fixer out of the box.