docs: add PSR-7 request body handling guide#3
Merged
TDannhauer merged 1 commit intoFRAMEWORK_6_0from Mar 12, 2026
Merged
Conversation
Add comprehensive documentation explaining the php://input non-seekable stream issue and how to properly handle request bodies in PSR-7 applications. Covers: - Why php://input can only be read once - The PSR-7 solution: getParsedBody() - How to use JsonBodyParser middleware - Best practices for body handling - Rejected alternatives and rationale This is a fundamental PSR-7 pattern that applies to all PHP frameworks, not specific to Horde.
ralflang
added a commit
that referenced
this pull request
Mar 24, 2026
Release version 3.0.0-beta3 Merge pull request #3 from horde/docs/psr7-request-body docs: document PSR-7 request body handling patterns
ralflang
added a commit
that referenced
this pull request
Mar 24, 2026
Release version 3.0.0-beta3 Merge pull request #3 from horde/docs/psr7-request-body docs: document PSR-7 request body handling patterns
ralflang
added a commit
that referenced
this pull request
Mar 24, 2026
Release version 3.0.0-beta4 docs: Move TESTING.md to the doc folder chore(release): bump version to 3.0.0-beta3 chore(dependencies): Drop dependency on horde/test no longer needed feat(test): Separate unit test suite into live (real network) and unit (mock) tests. Merge pull request #3 from horde/docs/psr7-request-body docs: document PSR-7 request body handling patterns
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents best practices for PSR-7 request body stream handling, including non-seekable stream caveats, body parsing patterns, and integration with middleware like JsonBodyParser.