Validate and view PHP print_r outputs
PHPView Extension
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!
Read more
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!
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "PHPView", "icons": {\t"16": "jsonview16.png",\t"48": "jsonview48.png", "128": "jsonview128.png"}, "version": "0.2.0", "description": "Validate and view PHP print_r outputs", "options_page": "options.html", "background" : { "service_worker": "background.js" }, "content_scripts": [{\t "matches": ["http://*/*", "https://*/*", "ftp://*/*", "file:///*"],\t "js": ["content.js"],\t "run_at" : "document_end",\t "all_frames" : true }], "web_accessible_resources": [{ "resources": [ "jsonview.css", "jsonview-core.css", "content_error.css", "options.png", "close_icon.gif", "error.gif" ], "matches": [""] },{ "resources": ["workerFormatter.js", "workerJSONLint.js"], "matches": ["http://*/*", "https://*/*", "file:///*", "ftp://*/*", "chrome-extension://*/*"] }], "permissions" : ["clipboardWrite", "contextMenus", "storage"], "host_permissions" : ["http://*/", "https://*/", "ftp://*/"], "manifest_version": 3}
Read more