DALT.PHP
Build with DALT

Routing, requests, and responses

Find the public routing and response contract for DALT.PHP.

Routes are registered in routes/routes.php. A handler returns its response value; do not call echo, header(), or exit for a normal route response. Return a string for HTML, an array for JSON, null for an empty response, or Core\Response when you need explicit headers and status.

The canonical framework reference defines the supported routing, request, and response API.