codervio / filesignature
Codervio Filesignature
Installs: 3
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/codervio/filesignature
Requires
- php: ^7.1
- codervio/filesignature: 1.*
Requires (Dev)
- phpunit/phpunit: 6.0.*
This package is not auto-updated.
Last update: 2025-10-12 11:52:29 UTC
README
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.
Donations
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
Installation
Changelog
Status of core:
Version | State |
---|---|
1.0 |
Release version |
PHP version above 7.1
.
Quality assurance: Unit tests provided
References
- [
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