This directory contains comprehensive code samples demonstrating the WebFiori HTTP library features, organized from basic to advanced usage patterns.
- 00-basic/ - Foundation concepts and simple services
- 01-core/ - Core features like validation, error handling
- 02-security/ - Authentication and authorization patterns
- 03-annotations/ - Modern annotation-based development
- 04-advanced/ - Advanced patterns and techniques
- 05-applications/ - Real-world application examples
-
Install dependencies:
composer install
-
Navigate to any example folder and run:
php -S localhost:8080
-
Test the endpoints using the provided cURL commands in each example's README.
Start with 00-basic/01-hello-world and progress through each folder sequentially for the best learning experience.