pushinbr / pam-http-psr
PSR-7, PSR-15 and PSR-17 implementations for Pam.
Requires
- php: ^8.4
- psr/http-factory: ^1.1
- psr/http-message: ^2.0
- psr/http-server-handler: ^1.0
- psr/http-server-middleware: ^1.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
PAM HTTP PSR
Bring PSR-7, PSR-15, and PSR-17 software to PAM HTTP.
Translate between PAM-native requests and the PHP-FIG interfaces at an explicit interoperability boundary.
Documentation · Why this exists · What you can build · Quick start · Issues
Why this exists
Translate between PAM-native requests and the PHP-FIG interfaces at an explicit interoperability boundary.
| Role | HTTP interoperability adapter |
| Execution path | PHP-FIG PSR interfaces · PAM HTTP |
| This repository owns | Request, response, middleware, and factory adaptation |
| Boundary | Not a server or router; conversion has a measurable boundary cost |
What you can build
- Running PSR-15 middleware in a PAM application
- Adapting libraries that require PSR-7 values
- Migrating existing PSR-based HTTP code incrementally
Quick start
pam composer require pushinbr/pam-http-psr
The PAM documentation covers prerequisites, production setup, and the complete workflow. PAM projects keep normal manifests and lockfiles; product features stay in the package that owns them.
PSR-7, PSR-15 and PSR-17 interoperability for Pam using the official PHP-FIG interfaces.
License
Free and open-source under the Apache License 2.0. You may use, modify, and distribute this package for any purpose, including commercially.