Download the PHP package pmvc-plugin/file_info without Composer
On this page you can find all versions of the php package pmvc-plugin/file_info. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download pmvc-plugin/file_info
More information about pmvc-plugin/file_info
Files in pmvc-plugin/file_info
Download pmvc-plugin/file_info
More information about pmvc-plugin/file_info
Files in pmvc-plugin/file_info
Please rate this library. Is it a good library?
Informations about the package file_info
File Information Plugin
Table of Contents
- Introduction
- Install with Composer
- How to use
Introduction
This is a file information library, could help you get file size or time.
Install with Composer
1. Download composer
- mkdir test_folder
- curl -sS https://getcomposer.org/installer | php
2. Install by composer.json or use command-line directly
2.1 Install by composer.json
-
vim composer.json
- php composer.phar install
2.2 Or use composer command-line
- php composer.phar require pmvc-plugin/file_info
How to use
Use Path only (file don't need exists)
Path functions
- getExt()
- getContentType()
- Return content-type, such as "image/png"
Use with file (file need exists)
File functions (extends all Path functions)
- realPath()
- Get realpath
-
getSize()
- getTime()
All versions of file_info with dependencies
PHP Build Version
Package Version
Requires
pmvc/pmvc Version
*
The package pmvc-plugin/file_info contains the following files
Loading the files please wait ....