PHPackages                             lantern-lighthouse/responsivity - 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. lantern-lighthouse/responsivity

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

lantern-lighthouse/responsivity
===============================

HTTP Response Utility Library

1.1.0(5mo ago)07GPL-3.0PHPPHP &gt;=8.1

Since Jan 20Pushed 5mo agoCompare

[ Source](https://github.com/Lantern-Lighthouse/Responsivity)[ Packagist](https://packagist.org/packages/lantern-lighthouse/responsivity)[ RSS](/packages/lantern-lighthouse-responsivity/feed)WikiDiscussions The-Unresponsive Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

Responsivity
============

[](#responsivity)

A lightweight PHP library for handling HTTP responses, rendering templates, and managing configuration in Fat-Free Framework applications.

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

[](#installation)

```
composer require lantern-lighthouse/responsivity
```

Usage
-----

[](#usage)

### JSON Responses

[](#json-responses)

```
use Responsivity\Responsivity;

// Simple success response
Responsivity::respond(['success' => true, 'data' => $data]);

// Error response
Responsivity::respond(
    ['error' => 'Not found'],
    Responsivity::HTTP_Not_Found
);

// Created response
Responsivity::respond(
    ['id' => 123, 'message' => 'Resource created'],
    Responsivity::HTTP_Created
);
```

### Template Rendering

[](#template-rendering)

```
$f3 = \Base::instance();
Responsivity::render($f3, 'pages/home.html');
```

### Configuration Management

[](#configuration-management)

```
$f3 = \Base::instance();
Responsivity::updateConfigValue($f3, 'database.host', 'localhost');
Responsivity::updateConfigValue($f3, 'app.debug', true);
```

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

[](#requirements)

- PHP 8.1 or higher
- Fat-Free Framework 3.8 or higher

License
-------

[](#license)

GPL-3.0 License

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance71

Regular maintenance activity

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

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

Unknown

Total

1

Last Release

164d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/77384152?v=4)[Písek Pískovec](/maintainers/pisekpiskovec)[@pisekpiskovec](https://github.com/pisekpiskovec)

---

Top Contributors

[![pisekpiskovec](https://avatars.githubusercontent.com/u/77384152?v=4)](https://github.com/pisekpiskovec "pisekpiskovec (1 commits)")

---

Tags

httpresponsejsonF3fat-free

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lantern-lighthouse-responsivity/health.svg)

```
[![Health](https://phpackages.com/badges/lantern-lighthouse-responsivity/health.svg)](https://phpackages.com/packages/lantern-lighthouse-responsivity)
```

PHPackages © 2026

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