PHPackages                             jiaojie/laravel5-jsonp-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. jiaojie/laravel5-jsonp-response

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

jiaojie/laravel5-jsonp-response
===============================

Jsonp Response for Laravel Framework 5.x

0.1.2(9y ago)024MITPHPPHP &gt;=5.4.0

Since Sep 13Pushed 9y ago1 watchersCompare

[ Source](https://github.com/jiaojie1989/laravel5-jsonp-response)[ Packagist](https://packagist.org/packages/jiaojie/laravel5-jsonp-response)[ RSS](/packages/jiaojie-laravel5-jsonp-response/feed)WikiDiscussions master Synced yesterday

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

Jsonp Response Format for Laravel Framework 5.x
===============================================

[](#jsonp-response-format-for-laravel-framework-5x)

[![Latest Stable Version](https://camo.githubusercontent.com/6f6de9354f6e966169373b7046e668aebe9fb08ac86179dd220ea811ade08c12/68747470733a2f2f706f7365722e707567782e6f72672f6a69616f6a69652f6c61726176656c352d6a736f6e702d726573706f6e73652f762f737461626c652e737667)](https://packagist.org/packages/jiaojie/laravel5-jsonp-response) [![Total Downloads](https://camo.githubusercontent.com/a8a3569597df55030bf767eea8495f8a27eae048cb1913aeb5db03303801064a/68747470733a2f2f706f7365722e707567782e6f72672f6a69616f6a69652f6c61726176656c352d6a736f6e702d726573706f6e73652f646f776e6c6f6164732e737667)](https://packagist.org/packages/jiaojie/laravel5-jsonp-response) [![Latest Unstable Version](https://camo.githubusercontent.com/ab5ff7c79ed9f5aa037974e6286aa7b4ef9eebdcbc432c9667015b4ebeb2ab38/68747470733a2f2f706f7365722e707567782e6f72672f6a69616f6a69652f6c61726176656c352d6a736f6e702d726573706f6e73652f762f756e737461626c652e737667)](https://packagist.org/packages/jiaojie/laravel5-jsonp-response) [![License](https://camo.githubusercontent.com/fdacfcbf2457c814b6259dabb4baa12c25cfd976e2ebfeb4399d42c6414ab77f/68747470733a2f2f706f7365722e707567782e6f72672f6a69616f6a69652f6c61726176656c352d6a736f6e702d726573706f6e73652f6c6963656e73652e737667)](https://packagist.org/packages/jiaojie/laravel5-jsonp-response)

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

[](#requirements)

- PHP &gt;= 5.4
- Laravel &gt;= 5.0

Usage
-----

[](#usage)

- Install Simply run `composer install "jiaojie/laravel5-jsonp-response"`.
- Add the following middleare to your `app\Http\Kernel.php`

```
    protected $middleware = [
        "Jiaojie\Laravel\Middlewares\Jsonp\JsonpResponse",
    ];
```

- When the request uri includes param `__jsonp=true&callback=sthCallback`, the api automaticly changes into jsonp format.

```
/**/myCallback(["date","2016-09-13 19:15:07"]);
```

Notice
------

[](#notice)

- If param `callback` is set to a number, then the javascript callback function is forced to be named `callback`.

###  Health Score

23

—

LowBetter than 26% 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 ~3 days

Total

4

Last Release

3568d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/603167de95d08f2a3edaf5acc3545be0e293566e84bddf4e9b5010aa0e52f6f3?d=identicon)[jiaojie1989](/maintainers/jiaojie1989)

---

Top Contributors

[![jiaojie1989](https://avatars.githubusercontent.com/u/8794115?v=4)](https://github.com/jiaojie1989 "jiaojie1989 (9 commits)")

### Embed Badge

![Health badge](/badges/jiaojie-laravel5-jsonp-response/health.svg)

```
[![Health](https://phpackages.com/badges/jiaojie-laravel5-jsonp-response/health.svg)](https://phpackages.com/packages/jiaojie-laravel5-jsonp-response)
```

###  Alternatives

[backpack/crud

Quickly build admin interfaces using Laravel, Bootstrap and JavaScript.

3.4k3.7M220](/packages/backpack-crud)[binaryk/laravel-restify

Laravel REST API helpers

677415.0k](/packages/binaryk-laravel-restify)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[lomkit/laravel-rest-api

A package to build quick and robust rest api for the Laravel framework.

59659.4k](/packages/lomkit-laravel-rest-api)[api-platform/laravel

API Platform support for Laravel

59156.3k11](/packages/api-platform-laravel)[wirechat/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

5687.5k](/packages/wirechat-wirechat)

PHPackages © 2026

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