This folder contains the most fundamental examples to get started with WebFiori HTTP library.
- 01-hello-world - Minimal service implementation
- 02-with-parameters - Basic parameter handling
- 03-multiple-methods - Supporting different HTTP methods
- 04-simple-manager - Basic service manager setup
- PHP 8.1+
- WebFiori HTTP library installed via Composer
Each example can be run independently:
cd 01-hello-world
php -S localhost:8080Then test with:
curl "http://localhost:8080?service=hello"