PHPackages                             richtoms/laravel-jsend - 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. richtoms/laravel-jsend

ActiveLibrary

richtoms/laravel-jsend
======================

A JSend wrapper for Laravel

v0.1(7y ago)02MITPHPPHP ^7.1

Since Mar 25Pushed 7y ago1 watchersCompare

[ Source](https://github.com/RichToms/laravel-jsend)[ Packagist](https://packagist.org/packages/richtoms/laravel-jsend)[ Docs](https://github.com/richtoms/laravel-jsend)[ RSS](/packages/richtoms-laravel-jsend/feed)WikiDiscussions master Synced 2mo ago

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

Laravel JSend Responses
=======================

[](#laravel-jsend-responses)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a028eec5499d9743e4ed4d7c49d328f588ceceac71501c397317bab2576371dc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72696368746f6d732f6c61726176656c2d6a73656e642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/richtoms/laravel-jsend)[![Build Status](https://camo.githubusercontent.com/5fb0e5aaa0b0e3bb6f2e8bf616038315daa455aab5a35d941ae570537536ab1c/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f52696368546f6d732f6c61726176656c2d6a73656e642f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/RichToms/laravel-jsend)[![Quality Score](https://camo.githubusercontent.com/da8ad2976e000f74b719aace780888e203d6fdfe0d615c518188f3c7f6bf9a10/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f72696368746f6d732f6c61726176656c2d6a73656e642e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/richtoms/laravel-jsend)[![Total Downloads](https://camo.githubusercontent.com/fd7fd511e3ac63cbfd8ccaa56ea9ab7730aae84ab9ad3ced5cdc37d0d682125a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72696368746f6d732f6c61726176656c2d6a73656e642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/richtoms/laravel-jsend)

A package designed to create JSend responses for Laravel. See the [JSend specification](https://github.com/omniti-labs/jsend).

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

[](#installation)

You can install the package via composer:

```
composer require richtoms/laravel-jsend

```

Usage
-----

[](#usage)

```
use RichToms\LaravelJSend\JSendFacade as JSend;

// Using the facade
return JSend::build($data, $statusCode, $headers);

// Using the response macro
return response()->jsend($data, $statusCode, $headers);

```

### Testing

[](#testing)

```
composer test

```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Richard Toms](https://github.com/richtoms)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

2606d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/473a642cbf1c351d418d747ae099c4b6e32eb2fafc8089266dec817c81cea42c?d=identicon)[richtoms](/maintainers/richtoms)

---

Top Contributors

[![RichToms](https://avatars.githubusercontent.com/u/13962331?v=4)](https://github.com/RichToms "RichToms (16 commits)")

---

Tags

richtomslaravel-jsend

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/richtoms-laravel-jsend/health.svg)

```
[![Health](https://phpackages.com/badges/richtoms-laravel-jsend/health.svg)](https://phpackages.com/packages/richtoms-laravel-jsend)
```

###  Alternatives

[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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