Last Updated | | Ratings | | Unique User Downloads | | Download Rankings |
2020-12-21 (2 months ago) | | Not enough user ratings | | Total: 116 | | All time: 9,285 This week: 262 |
|
Description | | Author |
This class can be used to parse and extract details from Windows exe files.
It takes the path of a given .exe file on a Windows based system and read its contents to parse it and extract several types of details details. Currently it can extract:
- Name of the company that produced the file
- Description
- Version
- Internal name
- Copyright information
- Product name
- Last change date
- Build id
- Update system version
- Source control id
- File size Recommendations
Innovation Award
February 2020
Number 5 |
Some applications need to check executable programs for the Windows operating system to extract relevant information that they may contain about those programs.
This class can parse and extract those program details from Windows executable program files by reading and parsing the files using built-in PHP functions, so it can be used also when running PHP on non-Windows operating systems.
Manuel Lemos |
| |
|
|
Innovation award
Nominee: 4x |
|
Details
php-exe-file-details-parser
a php class for parsing exe file details ( without COM ) also works for files with same file detail format as exe (.dll , sys , ..)
usage
$filedetails = new filedetailsparser($filepath);
$data = $filedetails->getdata($type);
-
filepath : exe file path
-
type : data type 'array' | 'object' (optional) default:'array'
### return : return array/object on success or exception on fail
getbykeyname
$keyvalue = $filedetails->getbykeyname($keyname,$type);
-
keyname : file detail key name (from list)
-
type : data type 'array' | 'object' (optional) default:'array'
### return : return string/array/object on find or 'false' on notfind
getdatalist
$data = $filedetails->getdatalist($keylist,$type);
-
keylist : list of keys for extraction from data
-
type : data type 'array' | 'object' (optional) default:'array'
### return : return array/object
filedetails list
-
companyname
-
filedescription
-
fileversion
-
internalname
-
legalcopyright
-
originalfilename
-
productname
-
productversion
-
companyshortName
-
productshortName
-
lastchange
-
legaltrademarks
-
LegalTrademarks1
-
LegalTrademarks2
-
buildid
-
updatesystemversion
-
source control id
-
filesize
-
pathinfo
-
Comments
-
FileBuildPart
-
FileMajorPart
-
FileMinorPart
-
FileName
-
FilePrivatePart
-
IsDebug
-
IsPatched
-
IsPreRelease
-
IsPrivateBuild
-
IsSpecialBuild
-
Language
-
PrivateBuild
-
ProductBuildPart
-
ProductMajorPart
-
ProductMinorPart
-
ProductPrivatePart
-
SpecialBuild
note : not all of these properties are available for all .exe or .dll files.
github : https://github.com/pfndesign/php-exe-file-details-parser
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.