Search by

sabroan / http-emitter-interface

Sabroan

A PHP interface for emitting PSR-7 HTTP responses

Package info

github.com/sabroan/php-http-emitter-interface

pkg:composer/sabroan/http-emitter-interface

Statistics

Installs: 0

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-10-14 08:07 UTC

This package is auto-updated.

Last update: 2026-10-14 08:11:25 UTC


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.