A Filesignature
detects mime type, extension and type of file by reading a headers from a file.
It is possible to guess mime type, extension, vendor name and mime type using input arguments function.
Due I am working 100% alone without any helps, organizations and any others team I can be satisfy for receiving any amount of payment to improve, develop and continue building on origin idea of framework.
You can pay any amount to PayPal: https://www.paypal.me/codervio?locale.x=en_US
Status of core:
Version | State |
---|---|
1.0 |
Release version |
PHP version above 7.1
.
Quality assurance: Unit tests provided
- [
Filesignature
] - A filesignature constructor
Fetching a result:
- [
getVendor()
] - Fetch a vendor by file - [
getExtension()
] - Get an extension type - [
getMime()
] - Get an extension type - [
getSignature()
] - Get a file signature headers - [
getVendor()
] - Fetch a vendor by file - [
getArrayResult()
] - Returns result as array
Guess by input arguments:
- [
recognizeByMime()
] - Return a result from mime type - [
recognizeByExtension()
] - Return a result from extension name