PHP Classes
elePHPant
Icontem

PHP Show HTML Source Code: Show highlighted HTML source of the current page

Recommend this page to a friend!
  Info   View files Example   Demos   Screenshots Screenshots   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-09-09 (11 days ago) RSS 2.0 feedStarStarStar 44%Total: 249 This week: 5All time: 7,548 This week: 128Up
Version License PHP version Categories
showsource 1.13GNU General Publi...5HTML, PHP 5
Description Author

This class can show highlighted HTML source of the current page.

It can generate HTML with JavaScript for the current page that calls a script that will use the class to retrieve the page HTML and output it highlighted when using the page context menu.

Innovation Award
PHP Programming Innovation award nominee
June 2017
Number 2


Prize: One downloadable copy of Komodo IDE
Often Web developers want to take a look at Web pages source code but usually browsers show it in a way that it is hard to read.

This class provides means to show the current page source code by highlighting the tags and data.

Manuel Lemos
  Performance   Level  
Name: Devin Gaul <contact>
Classes: 1 package by
Country: United States United States
Age: 31
All time rank: 3765434 in United States United States
Week rank: 139 Up11 in United States United States Up
Innovation award
Innovation award
Nominee: 1x

  Example PageExternal page  

Open in a separate window

Screenshots  
  • screenshots/screenshot-02.png
  • screenshots/screenshot-01.png
  Files folder image Files  
File Role Description
Files folder imageassets (2 directories)
Files folder imagecomponents (1 file)
Accessible without login Plain text file index.htm Data Example usage
Accessible without login Plain text file Source.php Example Handles the main execution.

  Files folder image Files  /  assets  
File Role Description
Files folder imagecss (2 files)
Files folder imagejs (2 files)

  Files folder image Files  /  assets  /  css  
File Role Description
  Accessible without login Plain text file middlefinger.css Appl. Stylesheet for the context menu
  Accessible without login Plain text file showSource.css Appl. Stylesheet for the source code and highlight

  Files folder image Files  /  assets  /  js  
File Role Description
  Accessible without login Plain text file middlefinger.jquery.js Data Optional jQuery file to use instead of original js file
  Accessible without login Plain text file middlefinger.js Data JavaScript file for the context menu

  Files folder image Files  /  components  
File Role Description
  Plain text file showsource.class.php Class The brain of the source code output.

 Version Control Unique User Downloads Download Rankings  
 0%
Total:249
This week:5
All time:7,548
This week:128Up
User Ratings User Comments (1)
 All time
Utility:66%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:44%StarStarStar
Rank:2660