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 today

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 64% 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

2772d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/58a54dfd6260e15a7fff6bdb948329b50cbf621d8af648b82c9b060fea57a29c?d=identicon)[FreWillems](/maintainers/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

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M918](/packages/symfony-stopwatch)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[spatie/ignition

A beautiful error page for PHP applications.

510147.6M69](/packages/spatie-ignition)[jokkedk/webgrind

Webgrind is a Xdebug profiling web frontend in PHP5. It implements a subset of the features of kcachegrind and installs in seconds and works on all platforms. For quick'n'dirty optimizations it does the job.

3.3k193.0k](/packages/jokkedk-webgrind)[koriym/printo

An object graph visualizer.

1421.8M2](/packages/koriym-printo)[soloterm/dumps

A Laravel command to intercept dumps from your Laravel application.

125285.7k3](/packages/soloterm-dumps)

PHPackages © 2026

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