PHPView icon

PHPView

v0.2.0 Updated Aug 30, 2024 88.99KiB
CWS
10K
Users
★ 4.32
41 reviews
#5383
of 207.1K
developer
#459 of 18.1K
⚠️Not updated in over a year

Description

Pretty print any kind of PHP print_r output. Debug your arrays and objects easily, and collapse the branches that you don't need to check in order to navigate in a easier way over the structure. I'm basically adapting this great extension for JSON: https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc That fantastic work deserves 99% of the credit, but we, PHP developers, also needed this! Repository: https://github.com/theypsilon/PHPView-for-Chrome Please, contribute!
PHPView screenshot 1

Reviews (7 cached)

★☆☆☆☆2019-10-11
Gary Pettigrew

Waste of time

★☆☆☆☆2016-09-26
Dave Rogers

Liked it until I realized it sorts the array however it wants, instead of how I have it programmed to sort. That's a pretty big issue for most developers, as we often need arrays sorted in a particular way (alphabetical, numerical, what have you). Just a head scratcher. Github appears to be a dead project.

★★☆☆☆2017-05-29
Guy Elsmore-Paddock

Only works if the first thing in the document is the print_r() output. If there is anything that comes before, you get no pretty print and "undefined" in the JS console.

★★☆☆☆2016-12-20
Miles Chick

Was helpful until about a week ago. Started throwing up errors to the the console log. So many, I couldn't figure out what were my errors or their errors. If you're the dev... I'm getting that it can't read an innerHTML call in line 282.

★★☆☆☆2016-10-05
Harry Lewis

It was great until it started converting random websites' source code into pretty print, instead of letting me browse the site... With no way to disable it. Nice one guys. (N)

★★★☆☆2023-11-14
Florian

It will sometimes hide things which are important to know such as debug code, but other than that it works fine.

★★★☆☆2016-12-27
Type Z

not working with php asort(); display wrongly array output by asort();

Permissions (3)

Permissions

clipboardWrite Can write to your clipboard contextMenus Can add items to the right-click menu storage Can store data locally in your browser

Details

Version 0.2.0
Updated Aug 30, 2024
Size 88.99KiB
First Seen Mar 26, 2026