Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 1.53 KB

File metadata and controls

40 lines (32 loc) · 1.53 KB

Documentation

Developer documentation for the initphp/input package. The project README gives a one-page overview; this directory goes deeper.

Index

  • Getting started — install, instantiate, and read your first value.
  • Usage
  • API reference — every public method, listed.
  • FAQ — common pitfalls and clarifications.

How to read these docs

Every page is structured as Goal → Working example → Expected output → Common mistakes. Snippets are copy-paste ready against the released package; outputs were verified against the test suite.

The three sources at a glance

Source Backed by Accessor Presence check
get $_GET get() hasGet()
post $_POST post() hasPost()
raw php://input* raw() hasRaw()

* The raw body is read once and JSON-decoded. A non-object/array or malformed payload is treated as empty.