Skip to content

Latest commit

 

History

History
39 lines (34 loc) · 1.85 KB

File metadata and controls

39 lines (34 loc) · 1.85 KB

InitPHP HTTP — Documentation

This directory contains the long-form documentation. The top-level README.md covers installation and a tour; the pages here go deeper.

Reading order

  1. Getting Started — install, run the test suite, the smallest possible example.
  2. PSR-7 — building blocks
  3. PSR-17 — factories
  4. PSR-18 — clients
  5. Emitter — turning a Response into bytes
  6. Static facades
  7. Recipes (task-oriented)
  8. Reference
  9. Upgrade guide (2.x → 3.x)

A note on the examples

Every code block in these pages was written against PHP 7.4 and is type-safe under PHPStan level 5. Newer PHP versions are obviously supported but no example uses 8.x-only syntax (no constructor promotion, no mixed, no enums) so you can drop snippets into a 7.4 codebase verbatim.