Skip to content

Adds support for Provider HTTP Handling #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 42 commits into from
Aug 15, 2025
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
bf1cee6
feat: adds PSR 7, 17, and 18
JasonTheAdams Aug 7, 2025
e00fbe8
chore: updates architecture doc to reflect changes
JasonTheAdams Aug 7, 2025
059fbf7
feat: adds HTTP files
JasonTheAdams Aug 7, 2025
4d8cafe
feat: adds auth files
JasonTheAdams Aug 7, 2025
a4d4004
feat: adds HTTPlug support
JasonTheAdams Aug 11, 2025
b9af770
chore: updates architecture doc
JasonTheAdams Aug 11, 2025
71f3594
Merge remote-tracking branch 'origin/trunk' into add-http-client-and-…
JasonTheAdams Aug 12, 2025
d3dfa92
refactor: moves authentication interfaces to HTTP domain
JasonTheAdams Aug 12, 2025
f455e21
feat: adds getData methods and allows null body
JasonTheAdams Aug 12, 2025
e05e36c
feat: adds HttpMethodEnum
JasonTheAdams Aug 12, 2025
eb7d5e2
refactor: normalizes request headers
JasonTheAdams Aug 13, 2025
75c69c1
feat: normalizes response headers
JasonTheAdams Aug 13, 2025
7c65178
refactor: removes duplicate interface
JasonTheAdams Aug 13, 2025
2ddfa0e
refactor: removes reason phrase until we have a "reason"...
JasonTheAdams Aug 13, 2025
310ff9e
chore: corrects the since tag silliness
JasonTheAdams Aug 13, 2025
deafd0e
refactor: extends json schema interface
JasonTheAdams Aug 13, 2025
53ccb48
refactor: enforces method enum in Request constructor
JasonTheAdams Aug 13, 2025
f2552c5
refactor: cleans up retrieving request method
JasonTheAdams Aug 13, 2025
7935a54
feat: adds flexible request data
JasonTheAdams Aug 13, 2025
d7636f7
feat: improves request header handling
JasonTheAdams Aug 13, 2025
928101e
refactor: adds HeadersCollection class
JasonTheAdams Aug 14, 2025
a632982
chore: corrects parameter description
JasonTheAdams Aug 14, 2025
720c294
refactor: adds discreet $body prop for type safety
JasonTheAdams Aug 14, 2025
2d9d93e
fix: explodes set header strings
JasonTheAdams Aug 14, 2025
577327a
chore: puts back removed embeddings architecture docs
JasonTheAdams Aug 14, 2025
3881473
chore: corrects architecture doc
JasonTheAdams Aug 14, 2025
3eb8fa5
chore: removes extra space
JasonTheAdams Aug 14, 2025
f46fcde
refactor: removes isSafe method
JasonTheAdams Aug 14, 2025
9f3a3ce
refactor: improves body check
JasonTheAdams Aug 14, 2025
a733263
refactor: removes getBodyString method
JasonTheAdams Aug 14, 2025
df49b6f
refactor: simplifies response conversion headers
JasonTheAdams Aug 14, 2025
f7107db
fix: resolves PHPStan type issue
JasonTheAdams Aug 14, 2025
adfcd5f
refactor: orients request shape around body, not data
JasonTheAdams Aug 14, 2025
1f7b7bd
feat: allows object and array when unserializing
JasonTheAdams Aug 14, 2025
6aec22c
feat: improves fromArray conversion
JasonTheAdams Aug 14, 2025
4188e96
chore: corrects doc
JasonTheAdams Aug 14, 2025
62a4860
Merge branch 'trunk' into add-http-client-and-auth
JasonTheAdams Aug 14, 2025
1962c95
refactor: sorts imports to appease no linting
JasonTheAdams Aug 14, 2025
06f2da1
refactor: uses new casing in header overrides
JasonTheAdams Aug 14, 2025
d306e29
Revert "feat: improves fromArray conversion"
JasonTheAdams Aug 14, 2025
940e07d
chore: removes unnecessary architecture docs
JasonTheAdams Aug 15, 2025
dba6a00
refactor: simplifies JSON body to string
JasonTheAdams Aug 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,19 @@
},
"require": {
"php": ">=7.4",
"ext-json": "*"
"ext-json": "*",
"php-http/discovery": "^1.0",
"php-http/httplug": "^2.0",
"php-http/message-factory": "^1.0",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0 || ^2.0"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"guzzlehttp/psr7": "^1.0 || ^2.0",
"php-http/curl-client": "^2.0",
"php-http/mock-client": "^1.0",
"phpstan/phpstan": "~2.1",
"phpunit/phpunit": "^9.5 || ^10.0",
"squizlabs/php_codesniffer": "^3.7"
Expand All @@ -46,7 +55,8 @@
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
"dealerdirect/phpcodesniffer-composer-installer": true,
"php-http/discovery": true
},
"optimize-autoloader": true,
"platform": {
Expand All @@ -61,7 +71,7 @@
],
"phpcbf": "phpcbf",
"phpcs": "phpcs",
"phpstan": "phpstan analyze",
"phpstan": "phpstan analyze --memory-limit=256M",
"phpunit": "phpunit"
}
}
Loading