A simple, extensible REST API framework for PHP

Automatic content negotiation. No magic. No bleeding into your code.


$routes->get('/users/:id')->toClosure(fn (int $id) => $users->getUser($id));
                

Install Aphiria


composer create-project aphiria/app --prefer-dist