PHPackages                             nylo/smalljson - 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. [API Development](/categories/api)
4. /
5. nylo/smalljson

ActiveLibrary[API Development](/categories/api)

nylo/smalljson
==============

Shrink Laravel JSON responses with a compact structural encoding and optional deflate. Adds response()-&gt;smallJson() and a drop-in middleware; pairs with the smalljson Dio interceptor for Flutter.

v1.0.0(3d ago)09↑1566.7%MITPHP ^8.1

Since Jul 13Compare

[ Source](https://github.com/nylo-core/laravel-small-json)[ Packagist](https://packagist.org/packages/nylo/smalljson)[ Docs](https://github.com/nylo-core/smalljson)[ RSS](/packages/nylo-smalljson/feed)WikiDiscussions Synced today

READMEChangelogDependencies (4)Versions (4)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/nylo-core/laravel-small-json).

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f8380256da4946ec2f597ab2abd608def753b4cd676ef8f0c07eb79fb6ff2c1c?d=identicon)[nylo](/maintainers/nylo)

---

Tags

jsonapilaravelcompressionpayloadbandwidthflutterdiosmalljson

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nylo-smalljson/health.svg)

```
[![Health](https://phpackages.com/badges/nylo-smalljson/health.svg)](https://phpackages.com/packages/nylo-smalljson)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M347](/packages/psalm-plugin-laravel)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

813336.8k3](/packages/defstudio-telegraph)[api-platform/laravel

API Platform support for Laravel

58174.6k17](/packages/api-platform-laravel)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5022.6k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

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