Skip to content

A Filesignature package detects mime type, extension and type of file by reading a headers from a file.

License

Notifications You must be signed in to change notification settings

Codervio/Filesignature

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Filesignature

Latest Version on Packagist Build Status Join the chat at https://gitter.im/Codervio/Filesignature

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

  1. Installation via Composer on Packagist
  2. Installation using Git GIT clone component

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

FOSSA Status

About

A Filesignature package detects mime type, extension and type of file by reading a headers from a file.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages