PHPackages                             sebk/swoft-json-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sebk/swoft-json-response

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sebk/swoft-json-response
========================

Swoft json response

1.1(4y ago)023GPL-3.0-onlyPHP

Since Oct 20Pushed 4y ago1 watchersCompare

[ Source](https://github.com/sebk69/swoft-json-response)[ Packagist](https://packagist.org/packages/sebk/swoft-json-response)[ RSS](/packages/sebk-swoft-json-response/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

sebk/swoft-json-response
========================

[](#sebkswoft-json-response)

Json reponse for Swoft

Install
-------

[](#install)

Create your Swoft project :

Require Swoft Json Response package () :

```
composer require sebk/swoft-json-response

```

Documentation
-------------

[](#documentation)

Simple function JsonResponse.

Usage :

```
JsonResponse($serializable);

// Example
JsonResponse(['test' => 'This is a test']);

```

You can use any serializable for parameter $serializable.

The '\\JsonSerializable' interface is supported.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

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 ~42 days

Total

2

Last Release

1620d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/45cdb3e169cfc71f586543af872d5a48416b21c4ebb43060bcb8c96eebf3ff5d?d=identicon)[sebk69](/maintainers/sebk69)

---

Top Contributors

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

---

Tags

phpswoft

### Embed Badge

![Health badge](/badges/sebk-swoft-json-response/health.svg)

```
[![Health](https://phpackages.com/badges/sebk-swoft-json-response/health.svg)](https://phpackages.com/packages/sebk-swoft-json-response)
```

###  Alternatives

[jlzan1314/swoft-entity

swoft 2.0 entity creater

121.5k](/packages/jlzan1314-swoft-entity)

PHPackages © 2026

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