codervio/filesignature

Codervio Filesignature

1.0.x-dev 2018-08-25 09:49 UTC

This package is not auto-updated.

Last update: 2024-09-29 06:02:31 UTC


README

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:

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