naf / client
NAF Client Plugin to make simple http requests.
Requires
- php: >=8.3
- ext-curl: *
- naf/framework: ^0.2
- nyholm/psr7: ^1.8
- psr/http-client: ^1.0
Requires (Dev)
- phpunit/php-code-coverage: ^12.1
- phpunit/phpunit: ^12.1
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-13 20:52:52 UTC
README
naf/client
Lightweight PSR-18 HTTP client — pragmatic, robust, and framework-friendly.
This plugin provides a small and dependency-free implementation of
Psr\Http\Client\ClientInterface, designed for internal APIs, integrations,
and infrastructure code inside NAF applications.
It focuses on correctness, stability, and testability rather than feature bloat.
🧩 Official NAF plugin
Minimal surface area, explicit behavior, no hidden magic.
Documentation
Everything about this package — what it does, how it is configured and what it needs — lives in the NAF documentation. Not sure which packages you need? Start here.
Install
composer require naf/client
License
MIT. Part of NAF.
