2017 © Pedro Peláez
 

library laravel-view-json

Debug view data

image

frewillems/laravel-view-json

Debug view data

  • Friday, July 27, 2018
  • by FreWillems
  • Repository
  • 1 Watchers
  • 1 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 100 % Grown

The README.md

Laravel View JSON

Print view data in the browser. For debugging purpose., (*1)

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., (*2)

Getting started

Require this package with composer. It is recommended to only require the package for development., (*3)

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

Laravel 5.5 uses Package auto-discovery so doesn't require you to manually add the ServiceProvider., (*4)

This package will only be enabled when APP_DEBUG is true., (*5)

Older Laravel versions

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

FreWillems\ViewJson\ViewJsonServiceProvider::class

Usage

Add ?view=json to any url and you will get all the view data in JSON format., (*7)

The Versions

27/07 2018

dev-master

9999999-dev

Debug view data

  Sources   Download

MIT

by Frederick Willems

27/07 2018

dev-develop

dev-develop

Debug view data

  Sources   Download

MIT

by Frederick Willems

27/07 2018

1.0.1

1.0.1.0

Debug view data

  Sources   Download

MIT

by Frederick Willems

24/04 2018

1.0.0

1.0.0.0

Debug view data

  Sources   Download

MIT

by Frederick Willems