PHPackages                             romeoz/rock-response - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. romeoz/rock-response

ActiveLibrary[HTTP &amp; Networking](/categories/http)

romeoz/rock-response
====================

HTTP response library

0.11.2(10y ago)0411MITPHPPHP &gt;=5.4.0

Since Oct 18Pushed 10y ago1 watchersCompare

[ Source](https://github.com/romeOz/rock-response)[ Packagist](https://packagist.org/packages/romeoz/rock-response)[ RSS](/packages/romeoz-rock-response/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (3)Versions (5)Used By (1)

HTTP response library for PHP
=============================

[](#http-response-library-for-php)

[![Latest Stable Version](https://camo.githubusercontent.com/c7f3350cf826744b28955a4052e13bda1f127fa206cdf86773878bb39afe2257/68747470733a2f2f706f7365722e707567782e6f72672f726f6d654f7a2f726f636b2d726573706f6e73652f762f737461626c652e737667)](https://packagist.org/packages/romeOz/rock-response)[![Total Downloads](https://camo.githubusercontent.com/291041581d16fbfacde8115eba22cdabdf90b0a68c56ee0660eacf1f50928642/68747470733a2f2f706f7365722e707567782e6f72672f726f6d654f7a2f726f636b2d726573706f6e73652f646f776e6c6f6164732e737667)](https://packagist.org/packages/romeOz/rock-response)[![Build Status](https://camo.githubusercontent.com/627128c02966bf19fbdfade3cd50dd9c338f3c3e9d0a44083a64d1fbdbe74ec6/68747470733a2f2f7472617669732d63692e6f72672f726f6d654f7a2f726f636b2d726573706f6e73652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/romeOz/rock-response)[![HHVM Status](https://camo.githubusercontent.com/d5e501164ac083f1f2c75aea06389b9f7f5d91fa091c86d3e3581eddbf01757e/687474703a2f2f6868766d2e683463632e64652f62616467652f726f6d656f7a2f726f636b2d726573706f6e73652e737667)](http://hhvm.h4cc.de/package/romeoz/rock-response)[![Coverage Status](https://camo.githubusercontent.com/9ba0b0fb1f37629fce5cd3116dbdeeceb9407020bb36df7af409a3857a2f7b4d/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f726f6d654f7a2f726f636b2d726573706f6e73652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/r/romeOz/rock-response?branch=master)[![License](https://camo.githubusercontent.com/39cdf87d908b69733229bddbb43303372817e0957c9142f832a08f346f0173b9/68747470733a2f2f706f7365722e707567782e6f72672f726f6d654f7a2f726f636b2d726573706f6e73652f6c6963656e73652e737667)](https://packagist.org/packages/romeOz/rock-response)

Features
--------

[](#features)

- Support many formatters:
    - JSON
    - XML
    - RSS
    - Sitemap
    - HTML
- Standalone module/component for [Rock Framework](https://github.com/romeOz/rock)

Installation
------------

[](#installation)

From the Command Line:

```
composer require romeoz/rock-response

```

or in your composer.json:

```
{
 "require": {
     "romeoz/rock-response": "*"
 }
}
```

Requirements
------------

[](#requirements)

- **PHP 5.4+**
- For using `SitemapResponseFormatter` required [tackk/cartographer](https://github.com/tackk/cartographer): `composer require tackk/cartographer`
- For using `RssResponseFormatter` required [mibe/FeedWriter](https://github.com/mibe/FeedWriter): `composer require mibe/feedwriter`

> All unbolded dependencies is optional.

License
-------

[](#license)

HTTP response is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~8 days

Total

4

Last Release

3840d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/23c5d84a59845d751cb69f5469986579b9312c54c898b366fefdc05baaa80a9c?d=identicon)[romeOz](/maintainers/romeOz)

---

Top Contributors

[![romeOz](https://avatars.githubusercontent.com/u/3135712?v=4)](https://github.com/romeOz "romeOz (11 commits)")

---

Tags

httpresponse

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/romeoz-rock-response/health.svg)

```
[![Health](https://phpackages.com/badges/romeoz-rock-response/health.svg)](https://phpackages.com/packages/romeoz-rock-response)
```

###  Alternatives

[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

7.9k1.0B3.2k](/packages/guzzlehttp-psr7)[psr/http-message

Common interface for HTTP messages

7.1k1.0B5.5k](/packages/psr-http-message)[psr/http-factory

PSR-17: Common interfaces for PSR-7 HTTP message factories

1.9k692.9M1.9k](/packages/psr-http-factory)[fig/http-message-util

Utility classes and constants for use with PSR-7 (psr/http-message)

39489.0M274](/packages/fig-http-message-util)[nette/http

🌐 Nette Http: abstraction for HTTP request, response and session. Provides careful data sanitization and utility for URL and cookies manipulation.

48819.2M541](/packages/nette-http)[psr/http-server-handler

Common interface for HTTP server-side request handler

177101.3M921](/packages/psr-http-server-handler)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
