2017 © Pedro Peláez
 

library file-info

A library to get file information.

image

ws/file-info

A library to get file information.

  • Friday, August 7, 2015
  • by WedgeSama
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

File Info Library

PHP >= 5.3.3, (*1)

This library provides some classes to get file information., (*2)

Requirements

  • PHP >= 5.3.3

Installation

Can be installed with Composer:, (*3)

$ composer require ws/file-util

Usage

Mime Type

use WS\Libraries\FileUtil\MimeType;

echo MimeType::guessMimeType('styles.css'); // text/css
echo MimeType::guessMimeType('scripts.js'); // application/javascript
echo MimeType::guessMimeType('trailer.mp4'); // video/mp4

License

This library is release under MIT license., (*4)

The Versions

07/08 2015

dev-master

9999999-dev

A library to get file information.

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

mimetype mime type file info