Validate and view PHP print_r outputs

Latest Version

Version
0.2.0
Update
August 30, 2024
Size
88.99KiB
Developer
Category
Users
20,000+
Rating
4.3 ★
Manifest Version
3
Web Store Status
Languages Support
English (United States)
See more
Permissions
ClipboardWrite
ContextMenus
Storage
See more

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

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "PHPView", "icons": {"16": "jsonview16.png","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": [{ "matches": ["http://*/*", "https://*/*", "ftp://*/*", "file:///*"], "js": ["content.js"], "run_at" : "document_end", "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

How to download and manually install PHPView extension for Chrome

Looking for a way to install PHPView extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install PHPView extensions manually, this article outlines two simple methods to effortlessly install PHPView extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download PHPView extension and manually install through Drag &Drop

If you ever need to manually install a PHPView extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the PHPView Extension by clicking the "Download CRX" button on the website.

Look for the PHPView extension you wish to install. Go to the website and download the PHPView extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for PHPView extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the PHPView extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download PHPView extension for Chrome and install in Developer Mode

This is another method to install PHPView extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the PHPView extension file

Select and download the PHPView extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the PHPView extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your PHPView extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the PHPView extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install PHPView extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Echo View Extension · Developer Tools 20,000+ 3 ★ 124KiB

icon

JSONVue Extension · Developer Tools 20,000+ 2651 ★ 181KiB

icon

PHP Write Run Extension · Developer Tools 20,000+ 9 ★ 218KiB

icon

JSON Formatter Extension · Developer Tools 20,000+ 1859 ★ 19.86KiB

icon

Live Server Web Extension Extension · Developer Tools 20,000+ 62 ★ 429KiB

icon

PHP shell Extension · Developer Tools 20,000+ 19 ★ 12.46KiB

icon

Laravel TestTools Extension · Developer Tools 20,000+ 67 ★ 449KiB

icon

Xdebug helper Extension · Developer Tools 20,000+ 429 ★ 70.13KiB

icon

PHP Offline Manual Extension · Developer Tools 20,000+ 16 ★ 25.95MiB

icon

Fake Filler Extension · Developer Tools 20,000+ 752 ★ 536KiB

icon

JSON Viewer Extension · Developer Tools 20,000+ 1082 ★ 310KiB

icon

PHP Error Alert Extension · Developer Tools 20,000+ 11 ★ 57.31KiB

icon

Laravel Docs Extension · Developer Tools 20,000+ 11 ★ 17.85KiB

icon

var_masterpiece Extension · Developer Tools 20,000+ 70 ★ 68.72KiB

icon

Clockwork Extension · Developer Tools 20,000+ 74 ★ 2.26MiB

icon

Vue.js devtools Extension · Developer Tools 20,000+ 2131 ★ 2.57MiB

icon

LiveReload Extension · Developer Tools 20,000+ 808 ★ 60.78KiB

icon

Vue.js devtools (beta) Extension · Developer Tools 20,000+ 149 ★ 2.54MiB

icon

FirePHP (Official) Extension · Developer Tools 20,000+ 5 ★ 849KiB

icon

JSON Viewer Extension · Developer Tools 20,000+ 157 ★ 104KiB

icon

daily.dev | The homepage developers deserve Extension · Developer Tools 20,000+ 2460 ★ 2.28MiB

icon

JSONView Extension · Developer Tools 20,000+ 37 ★ 82.85KiB

icon

Code Formatter Extension · Developer Tools 20,000+ 35 ★ 5.9MiB

icon

Livewire devtools Extension · Developer Tools 20,000+ 16 ★ 1014KiB

User reviews

icon

floriiian (ID: 0000008d653a029c) Voted 3 ★ - Updated 11/14/2023 It will sometimes hide things which are important to know such as debug code, but other than that it works fine.

icon

Koen de Haan (ID: 00000029dec72d1e) Voted 5 ★ - Updated 01/15/2022 It works great! It even beautifies multiple array's shown with print_r($array); Absolutely great. Thanks! I wish I could add a screenshot, because I don't understand the negative reactions shown overhere.

icon

Gary Pettigrew (ID: 0000004e5aa46d8e) Voted 1 ★ - Updated 10/11/2019 Waste of time

icon

Can (ID: 0000008e8197a0b6) Voted 4 ★ - Updated 06/10/2019 It's good but i want to see raw data sometimes. What should i do at this times?

icon

Peter Bechold (ID: 00000090e7b0b335) Voted 5 ★ - Updated 03/20/2019 Extremly useful :) Open/Collapse with doubleclick would be nice.