PHP Classes

File Icon: Get the icon and other types of file metadata

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 57%Total: 2,169 All time: 1,806 This week: 78Up
Version License Categories
fileicon 1.0.0GNU General Publi...Files and Folders
Description 

Author

This class can be used to retrieve icons and other types of metadata of a given file.

It can retrieve the icon image file name associated to a file based on the file name extension. It may also return <img> tags to display the file icon in HTML pages.

Several image files of graphic size 16x16 are provided to associate to many common file types.

The class can also retrieve the size of the file either in KB, MB or GB depending on how large the file is.

The class may also retrieve the file name extension, last change time, the file owner and the file group.

Picture of Hadar Porat
Name: Hadar Porat <contact>
Classes: 5 packages by
Country: United States United States

 

Screenshots (1)  
  • example.jpg
  Files folder image Files (28)  
File Role Description
Files folder imageicons (25 files)
Plain text file example.php Example Example script
Plain text file FileIcon.inc.php Class Main Class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,169
This week:0
All time:1,806
This week:78Up
User Ratings User Comments (1)
 All time
Utility:81%StarStarStarStarStar
Consistency:84%StarStarStarStarStar
Documentation:-
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:57%StarStarStar
Rank:1606
 
Excellent
15 years ago (kishore kumar)
70%StarStarStarStar