PHPackages                             frewillems/laravel-view-json - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. frewillems/laravel-view-json

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

frewillems/laravel-view-json
============================

Debug view data

1.0.2(7y ago)2205MITPHP

Since Apr 24Pushed 7y ago1 watchersCompare

[ Source](https://github.com/frewillems/laravel-view-json)[ Packagist](https://packagist.org/packages/frewillems/laravel-view-json)[ RSS](/packages/frewillems-laravel-view-json/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (5)Used By (0)

Laravel View JSON
=================

[](#laravel-view-json)

Print view data in the browser. For debugging purpose.

Why?
----

[](#why)

When working on large projects, it sometimes is hard to know what data is exactly passed to the view. With this package you can output all data as JSON.

Getting started
---------------

[](#getting-started)

Require this package with composer. It is recommended to only require the package for development.

```
composer require frewillems/laravel-view-json --dev

```

Laravel 5.5 uses Package auto-discovery so doesn't require you to manually add the ServiceProvider.

This package will only be enabled when `APP_DEBUG` is `true`.

### Older Laravel versions

[](#older-laravel-versions)

If you don't/can't use auto-discovery, add the ServiceProvider to the providers array in `config/app.php`.

```
FreWillems\ViewJson\ViewJsonServiceProvider::class

```

Usage
-----

[](#usage)

Add `?view=json` to any url and you will get all the view data in JSON format.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

Established project with proven stability

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

Total

3

Last Release

2822d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7103369?v=4)[Frederick Willems](/maintainers/FreWillems)[@frewillems](https://github.com/frewillems)

---

Top Contributors

[![frewillems](https://avatars.githubusercontent.com/u/7103369?v=4)](https://github.com/frewillems "frewillems (5 commits)")

### Embed Badge

![Health badge](/badges/frewillems-laravel-view-json/health.svg)

```
[![Health](https://phpackages.com/badges/frewillems-laravel-view-json/health.svg)](https://phpackages.com/packages/frewillems-laravel-view-json)
```

###  Alternatives

[fjogeleit/prometheus-messenger-middleware

Prometheus Middleware for the Symfony Messenger Component

2255.2k](/packages/fjogeleit-prometheus-messenger-middleware)[spatie/craft-ray

Easily debug CraftCMS projects

1638.4k](/packages/spatie-craft-ray)

PHPackages © 2026

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