Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1007 Bytes

File metadata and controls

30 lines (21 loc) · 1007 Bytes

WebFiori HTTP Examples

This directory contains comprehensive code samples demonstrating the WebFiori HTTP library features, organized from basic to advanced usage patterns.

Structure

  • 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

Quick Start

  1. Install dependencies:

    composer install
  2. Navigate to any example folder and run:

    php -S localhost:8080
  3. Test the endpoints using the provided cURL commands in each example's README.

Learning Path

Start with 00-basic/01-hello-world and progress through each folder sequentially for the best learning experience.