2017 © Pedro Peláez
 

library stupidmime

Stupid mime detection.

image

cedricziel/stupidmime

Stupid mime detection.

  • Thursday, December 10, 2015
  • by cedricziel
  • Repository
  • 1 Watchers
  • 0 Stars
  • 489 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 46 % Grown

The README.md

stupidmime

Stupid mime detection for limited PHP environments like Google AppEngine Sandbox., (*1)

What does it do?

This contains a simple helper function get_file_mime_type which accepts a file location string like /foo/bar.jpg and it will guess the mime type via the file extension., (*2)

It will use the php module fileinfo if present. If not, it will guess with a simple internal table., (*3)

Installation

composer require cedricziel/stupidmime

The Versions

10/12 2015

dev-master

9999999-dev

Stupid mime detection.

  Sources   Download

MIT

by Cedric Ziel

10/12 2015

0.0.2

0.0.2.0

Stupid mime detection.

  Sources   Download

MIT

by Cedric Ziel

10/12 2015

0.0.1

0.0.1.0

Stupid mime detection.

  Sources   Download

MIT

by Cedric Ziel