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   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 (1 year ago) RSS 2.0 feedStarStarStar 44%Total: 258 All time: 7,638 This week: 344Up
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
Innovation award
Innovation award
Nominee: 1x

 

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:258
This week:0
All time:7,638
This week:344Up
User Ratings User Comments (1)
 All time
Utility:66%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:44%StarStarStar
Rank:2744