Skip to content
This repository was archived by the owner on May 13, 2023. It is now read-only.

Commit 4d4c7e7

Browse files
committed
Updates README
1 parent f965f93 commit 4d4c7e7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ $ composer require php-http/message-factory
1616
```
1717

1818

19+
## Rationale
20+
21+
The FIG was pretty straightforward by NOT putting any construction logic into PSR-7. However there is a need for that. This does not try to be the "de facto" way to do message construction, but tries to provide an easy way to construct messages by following already existing patterns. (For example: `MessageFactory` accepts parameters in the order they appear in a request/response: method, uri, protocol version, headers, body (in case of a request)).
22+
23+
1924
## Usage
2025

2126
This package provides interfaces for PSR-7 factories including:

0 commit comments

Comments
 (0)