mirror of
https://github.com/notrab/dumbo.git
synced 2025-01-17 06:08:31 +01:00
Context Example
This example demonstrates how to get
and set
custom variables on the root, and route middleware.
Running the Example
-
Install dependencies:
composer install
-
Start the server:
composer start
-
Access the protected route:
curl http://localhost:8000 curl http://localhost:8000/api