PHPackages                             junker/symfony-jsend-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. junker/symfony-jsend-response

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

junker/symfony-jsend-response
=============================

JSendResponse Component for HttpFoundation based applications (Symfony, Silex, Drupal etc.)

0.3.1(4y ago)320.3k↓45.2%31MITPHPPHP ^7.2 || ^8.0

Since Jun 3Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Junker/JSendResponse)[ Packagist](https://packagist.org/packages/junker/symfony-jsend-response)[ RSS](/packages/junker-symfony-jsend-response/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (1)Versions (8)Used By (1)

JSendResponse
=============

[](#jsendresponse)

JSendResponse Component for HttpFoundation based frameworks (Symfony, Silex, Laravel etc.)

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

[](#installation)

The best way to install JSendResponse is to use a [Composer](https://getcomposer.org/download):

```
php composer.phar require junker/symfony-jsend-response

```

Examples
--------

[](#examples)

```
use Junker\JsendResponse\JSendResponse;
use Junker\JsendResponse\JSendSuccessResponse;
use Junker\JsendResponse\JSendFailResponse;
use Junker\JsendResponse\JSendErrorResponse;

class AppController
{
	...

	$data = ['id' => 50, 'name' => 'Waldemar'];
	$message = 'Error, total error!';
	$code = 5;

	return new JsendResponse(JSendResponse::STATUS_SUCCESS, $data);
	#or
	return new JsendResponse(JSendResponse::STATUS_FAIL, $data);
	#or
	return new JsendResponse(JSendResponse::STATUS_ERROR, NULL, $message);
	#or
	return new JsendResponse(JSendResponse::STATUS_ERROR, $data, $message, $code);
	#or
	return new JsendSuccessResponse($data);
	#or
	return new JsendFailResponse($data);
	#or
	return new JsendErrorResponse($message);
	#or
	return new JsendErrorResponse($message, $code, $data);

}
```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 53.3% 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 ~311 days

Recently: every ~467 days

Total

7

Last Release

1767d ago

PHP version history (2 changes)0.2.0PHP ^7.2

0.3.1PHP ^7.2 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1144095?v=4)[Dmitry Kosenkov](/maintainers/Junker)[@Junker](https://github.com/Junker)

---

Top Contributors

[![artyuum](https://avatars.githubusercontent.com/u/17199757?v=4)](https://github.com/artyuum "artyuum (8 commits)")[![Junker](https://avatars.githubusercontent.com/u/1144095?v=4)](https://github.com/Junker "Junker (5 commits)")[![1Rand0mD3v](https://avatars.githubusercontent.com/u/57788733?v=4)](https://github.com/1Rand0mD3v "1Rand0mD3v (1 commits)")[![danbettles](https://avatars.githubusercontent.com/u/736672?v=4)](https://github.com/danbettles "danbettles (1 commits)")

---

Tags

httpfoundationjsendlaravelphpsilexsymfonyresponsesymfonydrupalsilexjsend

### Embed Badge

![Health badge](/badges/junker-symfony-jsend-response/health.svg)

```
[![Health](https://phpackages.com/badges/junker-symfony-jsend-response/health.svg)](https://phpackages.com/packages/junker-symfony-jsend-response)
```

###  Alternatives

[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k48.1M236](/packages/api-platform-core)[fruitcake/php-cors

Cross-origin resource sharing library for the Symfony HttpFoundation

314242.1M35](/packages/fruitcake-php-cors)[eole/sandstone

Silex RestApi with Websockets.

1115.2k1](/packages/eole-sandstone)

PHPackages © 2026

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