Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

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.