sabroan / http-emitter-interface
A PHP interface for emitting PSR-7 HTTP responses
Package info
github.com/sabroan/php-http-emitter-interface
pkg:composer/sabroan/http-emitter-interface
1.0.0
2026-10-14 08:07 UTC
Requires
- php: >=8
- psr/http-message: ^2
Requires (Dev)
- ergebnis/composer-normalize: ^2.54
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
A PHP interface for emitting PSR-7 HTTP responses.
Requirements
PHP 8.0 or later
Installation
Install the package using Composer:
composer require sabroan/http-emitter-interface
Interface
<?php namespace Sabroan\Http\Emitter; use Psr\Http\Message\ResponseInterface; interface EmitterInterface { public function emit(ResponseInterface $response): bool; }
License
This package is released under the MIT License. See the LICENSE file for details.